Changeset 183 for pjproject/trunk/pjmedia/src/pjmedia/portaudio/pa_win_ds.c
- Timestamp:
- Feb 14, 2006 9:08:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/portaudio/pa_win_ds.c
r65 r183 68 68 #include "pa_cpuload.h" 69 69 #include "pa_process.h" 70 71 70 #include "dsound_wrapper.h" 72 71 … … 76 75 #endif 77 76 77 78 #include <pj/unicode.h> 78 79 79 80 #define PRINT(x) /* { printf x; fflush(stdout); } */ … … 326 327 DSDeviceNameAndGUIDVector *namesAndGUIDs = (DSDeviceNameAndGUIDVector*)lpContext; 327 328 PaError error; 329 PJ_DECL_ANSI_TEMP_BUF(atemp,128) 328 330 329 331 (void) lpszDrvName; /* unused variable */ … … 353 355 354 356 namesAndGUIDs->items[namesAndGUIDs->count].name = 355 DuplicateDeviceNameString( namesAndGUIDs->allocations, lpszDesc ); 357 DuplicateDeviceNameString( namesAndGUIDs->allocations, 358 PJ_NATIVE_TO_STRING(lpszDesc,atemp,sizeof(atemp))); 356 359 if( namesAndGUIDs->items[namesAndGUIDs->count].name == NULL ) 357 360 { … … 1024 1027 1025 1028 /* Let user determine minimal latency by setting environment variable. */ 1029 #ifdef UNDER_CE 1030 hresult = 0; 1031 #else 1026 1032 hresult = GetEnvironmentVariable( PA_LATENCY_ENV_NAME, envbuf, PA_ENV_BUF_SIZE ); 1033 #endif 1027 1034 if( (hresult > 0) && (hresult < PA_ENV_BUF_SIZE) ) 1028 1035 {
Note: See TracChangeset
for help on using the changeset viewer.