General :: Changing Default Audio Device In Pulseaudio?
Jun 5, 2011
I would like to use HDMI on my graphic card for audio output. ALSA shows it as a card with 4 devices and I can get sound through one of them (the other three are different channels, perhaps? I have only stereo output connected). Although Pulseaudio has the right card set as default, it seems to me that it plays on a wrong device. Pacmd shows that the sink has parameter alsa.device set to the first device listed by ALSA, but I can get sound only from the second one.How can I force Pulseaudio to use another device of the same card as a default output?
Based on my experience with external devices such as USB microphones and USB speakers, PulseAudio always defaults to the motherboard/built-in device rather than any USB device.My expectation is that if someone is using an external USB device to supplement what is on the motherboard/built-in, they are going to be doing that to overcome a limitation of the motherboard/built-in devices, and therefore it is logical that when external USB devices are present on a system, these be the default. (For example, I want sound from my beefy set of Logitech USB speakers and not from the tinny notebook speakers).
It is no problem for me to manually set/reset the active device, however I believe that the average user expects to plug in a USB microphone or speakers and assume that the system will automatically change the default. Furthermore without this action, some users not used to the Linux audio settings will be led to believe that the USB devices are not supported, when in fact it is simply a problem that they have not been selected for use rather than the motherboard/built-in devices.I think this warrants me entering a bug report, but I wanted to hear what others think before proceeding to enter a bug report.Is the default behavior of PulseAudio towards USB devices wrong? What do you think?
I have behringer UCA202 usb card, after plug to usb, it just works , I have only small problem with alsamixer, which still shows by default my integrated HDA Intel, I could switch it by F6 or by alsamixer -c 1no problem, but I expect that default card is now plugged "USB audio", so why alsamixer recognize default audio device as HDA intel and not a USB Audio ?anyone who has two or more sound cards with the same issue ?
I have headphones connected via usb and every time I restart computer or disconnect them, my sound output is switched to laptop speakers. Is there a way to make so that every time the headphones are detected, they would be used automatically?
I can get sound out of my machine just fine, but for some reason, no matter what audio player I use, every time I change the song or pause playing half my speakers will kill sound and it will seem like the sound profile has reverted to Analog Surround 5.0 Output. When I check my sound configuration it still lists 5.1, and I have to select another setting then change it back to 5.1 to get my speakers all functioning again.
i downloaded backtrack 4 (final) and booted the iso onto a flash drive using unetbootin. i then changed the boot order so the flash drive was first. after i did that i got into backtrack 4 did the install.sh and now i cant boot windows 7. even after changing the boot order to default, i turn my computer on and get a message that says:
Ubuntu 8.10, kernel 2.6.30.9 Ubuntu 8.10, kernel 2.6.30.9 (recovery mode) Ubuntu 8.10, memtest86+ Other operating systems : Memory Test (on /dev/sda1) Ubuntu 8.10, kernel 2.6.30.9 (on dev/sda1) Ubuntu 8.10, kernel 2.6.30.9 (recover mode) (on dev/sda1) Ubuntu 8.10, memtest86+ (on dev/sda1) [Code]....
i can only boot backtrack 4 OS, i really want to know what can i do to be able to boot my windows 7 home premium os.
I use an echo indigo audio card. When I do aplay -l I see this card, and I can ouput audio through it by specifically telling mplayer to use this (alsa) device. Now I want to use this card as default for all audio. At the moment the default is pulseaudio through the built in soundcard. How can I change this? Im running Ubuntu 10.04.
I'm having here annoying "problem" with my webcamera. Everytime I want to use it as a microphone it needs to be switched manually in sound settings menu. It's not a big deal but I would really rather let it be switched automatically like plug and play or something like that.
I use a Logitech USB headset with microphone at work for phone conferencing, and for some reason whenever I restart Ubuntu (and sometimes seemingly at random times), the settings for the audio input device revert to the defaults (the internal audio hardware).I can always reset it back to the USB headset by going to the sound configuration menu (Preferences -> Sound -> Input), but if any applications that use a microphone are already running, they will need to be restarted in order to make use of the newly configured input device.
I have detected some problems when I try to record sound in my Kubuntu 10.04 system.
The problem is that the "default" device for audio recording does not work but I have to select another device to do so. I always selected the "default" device for audio recoding but currently I have to select hw:0,2 device.
Another odd thing is that different programs show me different device. For example, Audacity shows me that I have the following audio recording devices:
- HDA Intel: ALC888 Digital (hw:0,1) - HDA Intel: ALC888 Analog (hw:0,2) - spdif - default
The only one that works is hw:0,2.
But arecord shows me (when I execute "arecord -L") the following:
Finally, in KDE system preferences for audio I get that I have 2 different audio devices for audio recording:
- HDA Intel (ALC888 Analog): it is said that it will try first x-phonon (CARD=0, DEV=0) and, if the latter does not work, it will try plughw (CARD=0, DEV=0)
- HDA Intel (ALC888 Digital): it is said that it will try first x-phonon (CARD=0, DEV=1) and, if the latter does not work, it will try plughw (CARD=0, DEV=1)
Where is the hw:0,2? and how can I set the alsa system to use hw:0,2 as the default device for audio recording?
All of that would not be a problem but I also have an ubuntu 9.04 installed on a virtual machine (by using virtualbox) and audio recording doesn't work there. I suppose that it is becase of the virtual sound card is using default devices for playing and recording audio.
I must say that audio playback works fine in both host and guest systems. It is just audio recording.
When I run some program (let's say Skype) I can (using "pavucontrol" -> "PulseAudio Volume Control") setup so that this application will use given device for playback or recording.
But - in the Playback/Recording tabs application is visible only if it is currently doing something (playback or recording).
How can I set device per application, but before the application starts recording or playing sounds?
I've had nothing but trouble with Pulseaudio in Fedora 14. I had managed to get rid of it in Fedora 10 with the command: su -c "yum remove alsa-plugins-pulseaudio pulseaudio" I just don't want to have to deal with Pulseaudio anymore. It does not like my sound card and gets in the way. Is there a Linux distribution that does not use Pulseaudio ?
I am attempting to modify the default umask value under all accounts on my linux system to 002. This will hopefully allow both the account and the account's group access to the created files.
I have modified it within /etc/bashrc, however it seems to be making no difference on this default value. The files I create through "File Browser" all have the access rights set to 600.
Is there any error here, as all evidence I can find on the internet points to the bashrc file.
I'm trying to change the default mysql port with no success. I looked at my.cnf file and there's no reference to port. I also looked at the iptables and mysql is running on 3306 (default).I've changed the iptable file but mysql fails to restart.If I add port = [my port number] to the my.cnf file, mysql fails to start.
I just setup a FireWire audio interface. Everything works fine, except for I need rw-rw-rw- permissions on /dev/fw0. I can always sudo chmod 666 /dev/fw0 just before setting the thing up, but then it will be gone on the next rebooting.The solution to modify /etc/udev/rules.d/020-permissions.rules (which is for Ubuntu Breezy) doesn't go well for Ubuntu 10.10 Maverick because there is no /etc/udev/rules.d directory.
I was using ubuntu 10.04 till yesterday.. and due to hdd crash i have changed my hdd.
while looking for my installation disc, my wall-mate gives me this Ubuntu Studio dvd and instead of downloading a new one, i have installed the studio. at the first sight ... i am being a fond of studio version .. its really cool.
now, i am quite habituated with default appearance of ubuntu, i found studio appearance is quite unusual (for me, menu layouts, panel everything).
I would like to know how do i change this default appearance like ubuntu default 10.04 appearance. I am attaching a screen-shoot of my friends desktop, he upgraded his ubuntu thru apptitude update.
I want to change the application that opens my mp3 files.
At present if I double click an mp3 it opens in the movie viewer for some reason. I know I can use "open with..." to get a file to open in Rythymbox instead, but I have over 800 mp3 files and want to change the default for all of them.
I have a fedora13 version that upgraded mythtv to 0.23. Since that time, I've had sound problems. Mostly the sound has stopped working completely, but works with all other applications. Every once in a while the sound will work.
My sound device is ALSA:default and I have experimentally allow pulseaudio in my environment. This worked fine before the mythtv upgrade. I tried using the pulseaudio device in mythtv, but it works really poorly (lots of loud static).
I recently upgraded to Ubuntu 10.04 from earlier versions. I have a dual boot system with Windows 7. Grub was set to boot Windows by default Things were working fine. I decided to upgrade to Grub2. It seemed like a good idea at the time. Now when booting up,the name at the top of the Grub menu is 1.98, which is Grub 2. When I run grub-install -v, it comes back grub-install (GNU GRUB 0.97) which is not Grub2. Now when I boot up, Ubuntu 10.04 is the default. I have to manually choose Windows if I want to use that system. I have been unable to change the boot order following instructions from this site. Any Way changing the boot order to make Windows 7 the default. I am using a Toshiba Satellite.
I installed "Theocracy" on my 9.10 Karmic system. The installer asks for a sound device, dev/dsp is the default and I didn't change it. When I now try to start the game, I get the following error: Unable to open sound device: Device or resource busy Aborted Execution of /usr/games/theocracy_base/theocracy.real failed! What is the sound device when using PulseAudio on Karmic?
For those that use Virtualbox on their slackware host and have a windows (xp) guest running. I have tried various settings for sound (Alsa, PulseAudio), the AC97 drivers are installed in the Windows xp guest os, but there is no sound and there is an unknown audio device (in the windows device manager). If I remove the AC97 drivers and use the soundblaster16 drivers in the Vbox settings there is no unknown sound device, but there's still no sound. why I can't get sound working?
I keep having problems where my audio cuts out in the middle of listening to anything (Flash, VLC, etc). It's becoming very frustrating. I'm running a realtime kernel so I'm wondering if that has something to do with it. Others have reported this problem: [URL]...
/var/log/syslog May 18 21:02:58 localhost rtkit-daemon[4743]: Failed to make ourselves RT: Invalid argument
I shall try and keep it short. Under Sys->Prefs->Sound I have selected pulseaudio server for input and output. Under Pulse-Audio manager->devices I can see the motherboard, a usb webcam, and my new soundcard. I edited the ~/.pulse source and sink files to match the new soundcard (alsa_output.pcixxxx_alsa_playback_0 and so on) under PulseAudio manager_> modiles the id numbers match the right info in the /proc/asound/cardX/pcmi0/info files
Under pulseaudio volume I set the default input and output to be the new soundcard. But in pulseaudio volume control I can see the USB webcam is still the input, and any sound still gets output to the motherboard. Is something overriding pulseaudio, or have I missed something. (The motherboard mic socket is broke, and the USB mike isn't good enough so I really need to get the soundblaster Audigy SE up and going)
When I run the audio configuration I get: The following audio device was detected: Vendor: nVidia Model Coporation GF100 High Definition Audio Controller Module snd-hda-intel but I do not hear sound.
The ALSA driver version is 1.0.14rc3 Lib package is: 1.0.17.-1.e15 Utils package is: 1.0.17-1.e15
The audio configuration sound test and the answer to the question No returns a message that says: automatic detection of sound card did not work. I am not sure what else is needed to diagnose the problem.
I am trying to setup a complex audio system, but I won't bore you with the details (unless you ask). Basically, I want to have pulseaudio only use one specific device and ignore the rest of the devices.
I'm looking for a way to change the balance of my audio in the terminal. (i.e. setting a different volume for the left and the right speaker).I can set the volume level for both channels at once with a command like: