|
|
|
@ -305,8 +305,8 @@ Mixer_ALSA::open()
|
|
|
|
|
} // is ordinary mixer element (NOT an enum)
|
|
|
|
|
|
|
|
|
|
MixDevice* md = new MixDevice( mixerIdx,
|
|
|
|
|
*volPlay,
|
|
|
|
|
canRecord,
|
|
|
|
|
canCapture ? *volCapture : *volPlay,
|
|
|
|
|
canCapture ? true : canRecord,
|
|
|
|
|
canMute,
|
|
|
|
|
snd_mixer_selem_id_get_name( sid ),
|
|
|
|
|
ct,
|
|
|
|
@ -321,18 +321,6 @@ Mixer_ALSA::open()
|
|
|
|
|
masterChosen = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ( canCapture && !canRecord ) {
|
|
|
|
|
MixDevice *mdCapture =
|
|
|
|
|
new MixDevice( mixerIdx,
|
|
|
|
|
*volCapture,
|
|
|
|
|
true,
|
|
|
|
|
canMute,
|
|
|
|
|
snd_mixer_selem_id_get_name( sid ),
|
|
|
|
|
ct,
|
|
|
|
|
cc );
|
|
|
|
|
m_mixDevices.append( mdCapture );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ( enumList.count() > 0 ) {
|
|
|
|
|
int maxEnumId= enumList.count();
|
|
|
|
|
TQPtrList<TQString>& enumValuesRef = md->enumValues(); // retrieve a ref
|
|
|
|
|