diff options
Diffstat (limited to 'kmix/mixer_hpux.cpp')
-rw-r--r-- | kmix/mixer_hpux.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmix/mixer_hpux.cpp b/kmix/mixer_hpux.cpp index 82e1ad51..20ef91f3 100644 --- a/kmix/mixer_hpux.cpp +++ b/kmix/mixer_hpux.cpp @@ -86,31 +86,31 @@ int Mixer_HPUX::open() else { /* Mixer is open. Now define properties */ - stereodevs = devtqmask = (1<<ID_PCM); /* activate pcm */ - rectqmask = 0; + stereodevs = devmask = (1<<ID_PCM); /* activate pcm */ + recmask = 0; /* check Input devices... */ if (AInputSources(audio) & AMonoMicrophoneMask) { - devtqmask |= (1<<ID_IN_MICROPHONE); - rectqmask |= (1<<ID_IN_MICROPHONE); + devmask |= (1<<ID_IN_MICROPHONE); + recmask |= (1<<ID_IN_MICROPHONE); } if (AInputSources(audio) & (ALeftAuxiliaryMask|ARightAuxiliaryMask)) { - devtqmask |= (1<<ID_IN_AUX); - rectqmask |= (1<<ID_IN_AUX); + devmask |= (1<<ID_IN_AUX); + recmask |= (1<<ID_IN_AUX); stereodevs |= (1<<ID_IN_AUX); } /* check Output devices... */ if (AOutputDestinations(audio) & AMonoIntSpeakerMask) { - devtqmask |= (1<<ID_OUT_INT_SPEAKER); + devmask |= (1<<ID_OUT_INT_SPEAKER); stereodevs |= (1<<ID_OUT_INT_SPEAKER); } /* implement later: ---------------- - if (AOutputDestinations(audio) & AMonoLineOutMask) devtqmask |= 64; // Line - if (AOutputDestinations(audio) & AMonoJackMask) devtqmask |= (1<<14); // Line1 - if (AOutputDestinations(audio) & AMonoHeadphoneMask) devtqmask |= (1<<15); // Line2 + if (AOutputDestinations(audio) & AMonoLineOutMask) devmask |= 64; // Line + if (AOutputDestinations(audio) & AMonoJackMask) devmask |= (1<<14); // Line1 + if (AOutputDestinations(audio) & AMonoHeadphoneMask) devmask |= (1<<15); // Line2 */ MaxVolume = 255; |