dsound: Use wine_dbg_sprintf() in dumpCooperativeLevel().
This commit is contained in:
parent
2665272d6c
commit
7209cb89bb
|
@ -113,7 +113,6 @@ static HRESULT DirectSoundDevice_VerifyCertification(DirectSoundDevice * device,
|
||||||
|
|
||||||
const char * dumpCooperativeLevel(DWORD level)
|
const char * dumpCooperativeLevel(DWORD level)
|
||||||
{
|
{
|
||||||
static char unknown[32];
|
|
||||||
#define LE(x) case x: return #x
|
#define LE(x) case x: return #x
|
||||||
switch (level) {
|
switch (level) {
|
||||||
LE(DSSCL_NORMAL);
|
LE(DSSCL_NORMAL);
|
||||||
|
@ -122,8 +121,7 @@ const char * dumpCooperativeLevel(DWORD level)
|
||||||
LE(DSSCL_WRITEPRIMARY);
|
LE(DSSCL_WRITEPRIMARY);
|
||||||
}
|
}
|
||||||
#undef LE
|
#undef LE
|
||||||
sprintf(unknown, "Unknown(%08x)", level);
|
return wine_dbg_sprintf("Unknown(%08x)", level);
|
||||||
return unknown;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _dump_DSCAPS(DWORD xmask) {
|
static void _dump_DSCAPS(DWORD xmask) {
|
||||||
|
|
Loading…
Reference in New Issue