Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #192804 > unrolled thread
| Started by | peter@easthope.ca |
|---|---|
| First post | 2018-02-21 03:40 +0100 |
| Last post | 2018-02-22 16:30 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.user
Specifying a device for sox output. peter@easthope.ca - 2018-02-21 03:40 +0100
Re: Specifying a device for sox output. Tomaž Šolc <tomaz.solc@tablix.org> - 2018-02-22 16:30 +0100
| From | peter@easthope.ca |
|---|---|
| Date | 2018-02-21 03:40 +0100 |
| Subject | Specifying a device for sox output. |
| Message-ID | <vlsu6-BO-5@gated-at.bofh.it> |
This system has three snd devices. peter@dalton:~$ ls /dev/snd/by-id/* /dev/snd/by-id/usb-046d_0807_C9748B60-02 /dev/snd/by-id/usb-0d8c_C-Media_USB_Audio_Device-00 /dev/snd/by-id/usb-0d8c_C-Media_USB_Headphone_Set-00 peter@dalton:~$ ls /dev/snd/by-path/* /dev/snd/by-path/pci-0000:00:03.0-usb-0:2:1.0 /dev/snd/by-path/pci-0000:00:03.2-usb-0:1:1.0 /dev/snd/by-path/pci-0000:00:03.2-usb-0:2:1.2 The two C-Media devices should be able to accept sox output. How should one of them be specified? If ekiga is running, is contention possible? If so, is there a way to resolve it. Thanks, ... Peter E. -- 123456789 123456789 123456789 123456789 123456789 123456789 123456789 Tel: +1 360 639 0202 Pender Is.: +1 250 629 3757 http://easthope.ca/Peter.html Bcc: peter at easthope. ca
[toc] | [next] | [standalone]
| From | Tomaž Šolc <tomaz.solc@tablix.org> |
|---|---|
| Date | 2018-02-22 16:30 +0100 |
| Message-ID | <vm0YO-6GG-3@gated-at.bofh.it> |
| In reply to | #192804 |
Hi
On 21. 02. 2018 03:19, peter@easthope.ca wrote:
> The two C-Media devices should be able to accept sox output. How
> should one of them be specified?
See the manual page for sox ("man sox" in a terminal). Search for "audio
device". The output audio device for sox is set by setting the AUDIODEV
environment. e.g. "AUDIODEV=hw:0,0 play foo.wav" to play on card 0,
device 0.
Use "aplay -l" to get a list of ALSA devices (you can't use /dev/snd/...
paths directly).
> If ekiga is running, is contention possible?
Yes.
> If so, is there a way to resolve it.
Use a sound server such as PulseAudio. If you have PulseAudio installed,
usually the default ALSA device will route the audio through PulseAudio.
In that case, the output audio device can be set somewhere in PulseAudio
settings.
Best regards
Tomaž
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web