mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 19:14:09 +00:00
msadp32.acm: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
586dbd1e1e
commit
93a55831b2
|
@ -404,9 +404,6 @@ static LRESULT ADPCM_DriverDetails(PACMDRIVERDETAILSW add)
|
||||||
*/
|
*/
|
||||||
static LRESULT ADPCM_FormatTagDetails(PACMFORMATTAGDETAILSW aftd, DWORD dwQuery)
|
static LRESULT ADPCM_FormatTagDetails(PACMFORMATTAGDETAILSW aftd, DWORD dwQuery)
|
||||||
{
|
{
|
||||||
static const WCHAR szPcm[]={'P','C','M',0};
|
|
||||||
static const WCHAR szMsAdPcm[]={'M','i','c','r','o','s','o','f','t',' ','A','D','P','C','M',0};
|
|
||||||
|
|
||||||
switch (dwQuery)
|
switch (dwQuery)
|
||||||
{
|
{
|
||||||
case ACM_FORMATTAGDETAILSF_INDEX:
|
case ACM_FORMATTAGDETAILSF_INDEX:
|
||||||
|
@ -439,13 +436,13 @@ static LRESULT ADPCM_FormatTagDetails(PACMFORMATTAGDETAILSW aftd, DWORD dwQuery)
|
||||||
aftd->dwFormatTag = WAVE_FORMAT_PCM;
|
aftd->dwFormatTag = WAVE_FORMAT_PCM;
|
||||||
aftd->cbFormatSize = sizeof(PCMWAVEFORMAT);
|
aftd->cbFormatSize = sizeof(PCMWAVEFORMAT);
|
||||||
aftd->cStandardFormats = ARRAY_SIZE(PCM_Formats);
|
aftd->cStandardFormats = ARRAY_SIZE(PCM_Formats);
|
||||||
lstrcpyW(aftd->szFormatTag, szPcm);
|
lstrcpyW(aftd->szFormatTag, L"PCM");
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
aftd->dwFormatTag = WAVE_FORMAT_ADPCM;
|
aftd->dwFormatTag = WAVE_FORMAT_ADPCM;
|
||||||
aftd->cbFormatSize = sizeof(ADPCMWAVEFORMAT) + (7 - 1) * sizeof(ADPCMCOEFSET);
|
aftd->cbFormatSize = sizeof(ADPCMWAVEFORMAT) + (7 - 1) * sizeof(ADPCMCOEFSET);
|
||||||
aftd->cStandardFormats = ARRAY_SIZE(ADPCM_Formats);
|
aftd->cStandardFormats = ARRAY_SIZE(ADPCM_Formats);
|
||||||
lstrcpyW(aftd->szFormatTag, szMsAdPcm);
|
lstrcpyW(aftd->szFormatTag, L"Microsoft ADPCM");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return MMSYSERR_NOERROR;
|
return MMSYSERR_NOERROR;
|
||||||
|
|
Loading…
Reference in a new issue