Changeset 10173 for trunk/src/winmm/wavein.cpp
- Timestamp:
- Jul 16, 2003, 5:47:24 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/winmm/wavein.cpp
r8508 r10173 1 /* $Id: wavein.cpp,v 1.1 2 2002-05-28 14:09:24 sandervl Exp $ */1 /* $Id: wavein.cpp,v 1.13 2003-07-16 15:47:24 sandervl Exp $ */ 2 2 3 3 /* … … 47 47 return(WAVERR_BADFORMAT); 48 48 49 if(fdwOpen & WAVE_FORMAT_QUERY) 49 if(fdwOpen & WAVE_FORMAT_QUERY) 50 50 { 51 51 if(DartWaveIn::queryFormat(pwfx->wFormatTag, pwfx->nChannels, pwfx->nSamplesPerSec, 52 pwfx->wBitsPerSample) == TRUE) 52 pwfx->wBitsPerSample) == TRUE) 53 53 { 54 54 return(MMSYSERR_NOERROR); … … 304 304 char * theMsg = getWinmmMsg( wError ); 305 305 if ( theMsg ) 306 AsciiToUnicode ( theMsg, lpText );306 AsciiToUnicodeN( theMsg, lpText, cchText ); 307 307 else 308 308 { 309 309 char errMsg[100]; 310 310 sprintf( errMsg, "Unknown error number %d", wError ); 311 AsciiToUnicode ( errMsg, lpText );311 AsciiToUnicodeN( errMsg, lpText, cchText ); 312 312 } 313 313 return MMSYSERR_NOERROR;
Note:
See TracChangeset
for help on using the changeset viewer.