Next revision | Previous revision |
wiki:troubleshooting [2013/05/25 14:35] – external edit 127.0.0.1 | wiki:troubleshooting [2013/06/02 15:45] (current) – external edit 127.0.0.1 |
---|
====== General ====== | ====== Troubleshooting ====== |
| |
{{:wiki:lm2.png|}} | |
---- | |
{{:wiki:frustration3.png|}} | {{:wiki:frustration3.png|}} |
| |
| * While written with Ubuntu in mind, [[https://help.ubuntu.com/community/SoundTroubleshooting|this page]] is a great resource for troubleshooting an audio configuration. |
* While written with Ubuntu in mind, [[https://help.ubuntu.com/community/SoundTroubleshooting|this page]] is a great resource for troubleshooting an audio configuration. [[https://help.ubuntu.com/community/Sound|General Ubuntu Sound]] reference. | * [[https://help.ubuntu.com/community/Sound|General Ubuntu Sound]] reference. |
| |
* Another great resource for troubleshooting, are the articles of Dave Philips for linuxjournal. He wrote three articles about it. You can find them here: | * Another great resource for troubleshooting, are the articles of Dave Philips for linuxjournal. He wrote three articles about it. You can find them here: |
[[http://www.linuxjournal.com/node/1000244|Troubleshooting Linux Audio, Part 1]] | * [[http://www.linuxjournal.com/node/1000244|Troubleshooting Linux Audio, Part 1]] |
[[http://www.linuxjournal.com/node/1000254|Troubleshooting Linux Audio, Part 2]] | * [[http://www.linuxjournal.com/node/1000254|Troubleshooting Linux Audio, Part 2]] |
[[http://www.linuxjournal.com/node/1000262|Troubleshooting Linux Audio, Part 3a]] | * [[http://www.linuxjournal.com/node/1000262|Troubleshooting Linux Audio, Part 3a]] |
[[http://www.linuxjournal.com/node/1000295|Troubleshooting Linux Audio, Part 3b]] | * [[http://www.linuxjournal.com/node/1000295|Troubleshooting Linux Audio, Part 3b]] |
| |
* On our forum there is a [[http://linuxmusicians.com/viewtopic.php?t=121|topic about common problems and solutions]]. | * On the LinuxMusicians forum there is a [[http://linuxmusicians.com/viewtopic.php?t=121|topic about common problems and solutions]]. |
| |
===== Device or resource busy ===== | ===== Device or resource busy ===== |
Playing sounds from multiple applications simultaneously is not necessarily trivial: for example, when each application chose a different sample rate, one of the streams will have to be either dropped or resampled, which can have noticeable effects on both performance and audio quality. | Playing sounds from multiple applications simultaneously is not necessarily trivial: for example, when each application chose a different sample rate, one of the streams will have to be either dropped or resampled, which can have noticeable effects on both performance and audio quality. |
| |
Partly for this reason, it is common for 'low level' (OSS/ALSA) audio layers to allow only 1 application access to the sound card at a time. Mixing should be done in a 'higher level' like [[JACK]]. | Partly for this reason, it is common for 'low level' (OSS/ALSA) audio layers to allow only 1 application access to the sound card at a time. Mixing should be done in a 'higher level' like [[apps:all:Jack]]. |
| |
When you get 'Device or resource busy' errors when connecting to your sound card, it is likely that some application has taken full control over the 'lower level' interface to the sound card. To determine which application is holding the sound card, you can use 'fuser' on the audio device nodes /dev/dsp and /dev/snd/*: | When you get 'Device or resource busy' errors when connecting to your sound card, it is likely that some application has taken full control over the 'lower level' interface to the sound card. To determine which application is holding the sound card, you can use 'fuser' on the audio device nodes /dev/dsp and /dev/snd/*: |