mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[MMIXER]
- Copy device name when initializing WAVEINCAPS / WAVEOUTCAPS - Fixes display wave device name in cpl / waveInGetDevCaps / waveOutGetDevCaps svn path=/trunk/; revision=46680
This commit is contained in:
@@ -360,6 +360,17 @@ MMixerInitializeWaveInfo(
|
||||
WaveInfo->DeviceId = MixerData->DeviceId;
|
||||
WaveInfo->PinId = PinId;
|
||||
|
||||
|
||||
/* copy device name */
|
||||
if (bWaveIn)
|
||||
{
|
||||
wcscpy(WaveInfo->u.InCaps.szPname, DeviceName);
|
||||
}
|
||||
else
|
||||
{
|
||||
wcscpy(WaveInfo->u.OutCaps.szPname, DeviceName);
|
||||
}
|
||||
|
||||
/* FIXME determine manufacturer / product id */
|
||||
if (bWaveIn)
|
||||
{
|
||||
@@ -410,6 +421,8 @@ MMixerInitializeWaveInfo(
|
||||
MixerContext->Free(MultipleItem);
|
||||
|
||||
|
||||
|
||||
|
||||
if (bWaveIn)
|
||||
{
|
||||
InsertTailList(&MixerList->WaveInList, &WaveInfo->Entry);
|
||||
|
||||
Reference in New Issue
Block a user