I was having problems with sound on my system where some program like Audacity would screw w/the volume making it so loud that the volume control that is kmix couldn’t do anything about it. I read somewhere that I should install pavucontrol to give better control. It did give me better control, but now I’ve got sound problems all over the place. A minute ago I had problems where sometimes the sound in the media I played didn’t want to play. So I rebooted. Now it seems to only have one channel. If something is making a sound, none of the apps can play. Also the volume knob on my keyboard doesn’t work. it seems it only affects kmix, even if kmix isn’t running. In fact, closing kmix doesn’t help any of these problems.
How do I normalize the audio so that:
I get my other channels back (sound multiplex)
the volume doesn’t go everywhere on a whim
the multimedia keys on my keyboard work again
?
I’m running openSUSE 11.4 64-bit. I guess I have ALSA, but you know what? I don’t see much in the way of configuration applets for sound, so I’m not even sure how things are configured.
Wow, that was fast. Thanks!
Unfortunately, they seem to gloss over my problems. The pulseaudio resources don’t address this either, and the Phonon link is dead (the GUI crashes every time I try to exit it anyway). Let’s start with my multi-channel problem, since that’s what’s so annoying now. I run
$ speaker-test -Dplug:front -c2 -l5 -twav
speaker-test 1.0.24.2
Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Playback open error: -16,Device or resource busy
Not terribly surprising since I do have a sound playing, but just one, so it shouldn’t be enough to crowd anything else out.
I’m not a sound guru. And having never had to fiddle with on my systems, it’s left me uneducated in this area. @oldcpu though should pick up on this soon enough. Complications arise when there is more than one piece of sound hardware. Eg. Onboard device and a PCI card. It’s important that you select the default device in Yast > HArdware > Sound And also set that in the mixer too With kde you also have to go to the system settings for the kde desktop > multimedia section and set the prefered device in there too
Those problems I was having with kmix (being bypassed, keybd volume knob not working) were fixed by deleting the configuration files in my home directory. That’s not the first time I’ve had to do that. Maybe I should set a cron job to do that from time to time.
The problem w/the mutliplexing was not that, exactly, but one app, vlc, hogging the sound card at everyone elses’ expense. I find that odd, because in Tools|Preferences|Audio I had the Output module given as “default” (what decides what’s default anyway?) which always worked before, but now that I have it on “ALSA module” and “Use S/PDIF when available” and “default” for the Device (and what decides what’s the default device?) vlc plays nice again.
As for the problem of other apps highjacking the volume and taking it out of kmix’s control, that might be part of kmix’s config files getting corrupted. I hope that’s it, because otherwise, that volume problem sounds like bad division of labour among apps.
An application you could consider adding to provide more options for the output mode for vlc is the application vlc-aout-pulse. With that you can use pulse audio with vlc and hence better able to share the sound device with all applications using pulse audio.
Hmm… ok. I installed it. It seems to be a single, shared library. What does it do? One thing it might do is fix that problem I had. I put the vlc settings to their defaults and I’m still able to mix sounds.
I’m still curious as to how “default” sound modules and devices are chosen.