Changeset 84 for GPL/trunk/lib32/soundmixer.c
- Timestamp:
- Oct 23, 2006, 11:07:11 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/lib32/soundmixer.c
r32 r84 72 72 /* OSS_MIXER_3DDEPTH */ { "3D Control - Depth", 0 , -1}, 73 73 /* OSS_MIXER_3DCENTER */ { "3D Control - Center", 0 , -1}, 74 /* OSS_MIXER_FRONT */ { "Front", 0 , -1}, 74 75 }; 75 76 char *szRecSources[OSS32_MIX_RECSRC_MAX] = { … … 201 202 int controlnamelen = strlen(pHandle->pids[i].name); 202 203 203 if(namelen == controlnamelen) 204 if(namelen == controlnamelen) 204 205 {//control names are identical; found exact match 205 206 pHandle->controls[j].idxVolume = i; … … 392 393 idx = pHandle->controls[OSS_MIXER_VOLUME].idxVolume; 393 394 idxMute = pHandle->controls[OSS_MIXER_VOLUME].idxMute; 395 if (idx == -1) 396 { 397 /* HDA codecs workaround */ 398 idx = pHandle->controls[OSS_MIXER_FRONT].idxVolume; 399 idxMute = pHandle->controls[OSS_MIXER_FRONT].idxMute; 400 } 394 401 break; 395 402 case OSS32_MIX_VOLUME_MASTER_REAR: //TODO: … … 400 407 idx = pHandle->controls[OSS_MIXER_PCM].idxVolume; 401 408 idxMute = pHandle->controls[OSS_MIXER_PCM].idxMute; 409 if (idx == -1) 410 { 411 /* HDA codecs workaround */ 412 idx = pHandle->controls[OSS_MIXER_FRONT].idxVolume; 413 idxMute = pHandle->controls[OSS_MIXER_FRONT].idxMute; 414 } 402 415 break; 403 416 case OSS32_MIX_VOLUME_MIDI:
Note:
See TracChangeset
for help on using the changeset viewer.