Commit 716cfcb1 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dsound: Use wide-char string literals.

parent d98cd9e8
...@@ -88,7 +88,7 @@ CRITICAL_SECTION DSOUND_capturers_lock = { &DSOUND_capturers_lock_debug, -1, 0, ...@@ -88,7 +88,7 @@ CRITICAL_SECTION DSOUND_capturers_lock = { &DSOUND_capturers_lock_debug, -1, 0,
GUID DSOUND_renderer_guids[MAXWAVEDRIVERS]; GUID DSOUND_renderer_guids[MAXWAVEDRIVERS];
GUID DSOUND_capture_guids[MAXWAVEDRIVERS]; GUID DSOUND_capture_guids[MAXWAVEDRIVERS];
const WCHAR wine_vxd_drv[] = { 'w','i','n','e','m','m','.','v','x','d', 0 }; const WCHAR wine_vxd_drv[] = L"winemm.vxd";
/* All default settings, you most likely don't want to touch these, see wiki on UsefulRegistryKeys */ /* All default settings, you most likely don't want to touch these, see wiki on UsefulRegistryKeys */
int ds_hel_buflen = 32768 * 2; int ds_hel_buflen = 32768 * 2;
...@@ -454,10 +454,6 @@ HRESULT enumerate_mmdevices(EDataFlow flow, GUID *guids, ...@@ -454,10 +454,6 @@ HRESULT enumerate_mmdevices(EDataFlow flow, GUID *guids,
BOOL keep_going; BOOL keep_going;
HRESULT hr, init_hr; HRESULT hr, init_hr;
static const WCHAR primary_desc[] = {'P','r','i','m','a','r','y',' ',
'S','o','u','n','d',' ','D','r','i','v','e','r',0};
static const WCHAR empty_drv[] = {0};
init_hr = get_mmdevenum(&devenum); init_hr = get_mmdevenum(&devenum);
if(!devenum) if(!devenum)
return init_hr; return init_hr;
...@@ -484,8 +480,8 @@ HRESULT enumerate_mmdevices(EDataFlow flow, GUID *guids, ...@@ -484,8 +480,8 @@ HRESULT enumerate_mmdevices(EDataFlow flow, GUID *guids,
return DS_OK; return DS_OK;
} }
TRACE("Calling back with NULL (%s)\n", wine_dbgstr_w(primary_desc)); TRACE("Calling back with NULL (Primary Sound Driver)\n");
keep_going = cb(NULL, primary_desc, empty_drv, user); keep_going = cb(NULL, L"Primary Sound Driver", L"", user);
/* always send the default device first */ /* always send the default device first */
if(keep_going){ if(keep_going){
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(dsound); WINE_DEFAULT_DEBUG_CHANNEL(dsound);
static WCHAR wInterface[] = { 'I','n','t','e','r','f','a','c','e',0 }; static WCHAR wInterface[] = L"Interface";
typedef struct IKsPrivatePropertySetImpl typedef struct IKsPrivatePropertySetImpl
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment