Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #192891

Re: Specifying a device for sox output.

From Tomaž Šolc <tomaz.solc@tablix.org>
Newsgroups linux.debian.user
Subject Re: Specifying a device for sox output.
Date 2018-02-22 16:30 +0100
Message-ID <vm0YO-6GG-3@gated-at.bofh.it> (permalink)
References <vlsu6-BO-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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ž

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web