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 20ef91f3..82e1ad51 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 = devmask = (1<<ID_PCM); /* activate pcm */ - recmask = 0; + stereodevs = devtqmask = (1<<ID_PCM); /* activate pcm */ + rectqmask = 0; /* check Input devices... */ if (AInputSources(audio) & AMonoMicrophoneMask) { - devmask |= (1<<ID_IN_MICROPHONE); - recmask |= (1<<ID_IN_MICROPHONE); + devtqmask |= (1<<ID_IN_MICROPHONE); + rectqmask |= (1<<ID_IN_MICROPHONE); } if (AInputSources(audio) & (ALeftAuxiliaryMask|ARightAuxiliaryMask)) { - devmask |= (1<<ID_IN_AUX); - recmask |= (1<<ID_IN_AUX); + devtqmask |= (1<<ID_IN_AUX); + rectqmask |= (1<<ID_IN_AUX); stereodevs |= (1<<ID_IN_AUX); } /* check Output devices... */ if (AOutputDestinations(audio) & AMonoIntSpeakerMask) { - devmask |= (1<<ID_OUT_INT_SPEAKER); + devtqmask |= (1<<ID_OUT_INT_SPEAKER); stereodevs |= (1<<ID_OUT_INT_SPEAKER); } /* implement later: ---------------- - if (AOutputDestinations(audio) & AMonoLineOutMask) devmask |= 64; // Line - if (AOutputDestinations(audio) & AMonoJackMask) devmask |= (1<<14); // Line1 - if (AOutputDestinations(audio) & AMonoHeadphoneMask) devmask |= (1<<15); // Line2 + if (AOutputDestinations(audio) & AMonoLineOutMask) devtqmask |= 64; // Line + if (AOutputDestinations(audio) & AMonoJackMask) devtqmask |= (1<<14); // Line1 + if (AOutputDestinations(audio) & AMonoHeadphoneMask) devtqmask |= (1<<15); // Line2 */ MaxVolume = 255; |