On 04/17/15 18:28, Alexandre Ratchov wrote:
On Fri, Apr 17, 2015 at 04:11:16PM +0300, Timo Myyra wrote:
Hi,

I saw recent commit which should have enabled uaudio support for ehci-only
systems.
It doesn't seem to work for desktop with my USB DAC.

So far I've changed the following symlinks to point to my USB DAC.

zmyrgel:2202$ ls -la /dev/{audio,sound,audioctl,mixer}
lrwxr-xr-x  1 root  wheel  11 Apr 17 15:57 /dev/audio@ -> /dev/audio1
lrwxr-xr-x  1 root  wheel  14 Apr 17 15:57 /dev/audioctl@ -> /dev/audioctl1
lrwxr-xr-x  1 root  wheel  11 Apr 17 15:57 /dev/mixer@ -> /dev/mixer1
lrwxr-xr-x  1 root  wheel  11 Apr 17 15:57 /dev/sound@ -> /dev/sound1

programs don't use the symlinks any longer, try to set sndiod_flags
to "-f rsnd/1" and restart sndiod

It seems to work as per audioctl and mixerctl output:

zmyrgel:2204$ mixerctl
outputs.spkr.mute=off
outputs.spkr=255,255
zmyrgel:2205$ audioctl
name=USB audio
encodings=slinear_le:16:2:1,slinear_le:24:3:1
properties=independent
hiwat=7
lowat=5
mode=
play.rate=44100
play.channels=2
play.precision=16
play.bps=2
play.msb=1
play.encoding=slinear_le
play.samples=0
play.pause=0
play.active=0
play.block_size=8816
play.errors=0
record.rate=44100
record.channels=2
record.precision=16
record.bps=2
record.msb=1
record.encoding=slinear_le
record.samples=0
record.pause=0
record.active=0
record.block_size=8816
record.errors=0

When I use mplayer or audacious, both seem to playback just fine except I
can't hear anything from my headset. Am I missing something here?
probably programs are still using the first device.


Thanks, but there seems to be more to this.
After setting the sdiod_flags I get sound from headset but its distorted.
I tried to play around with audioctl but couldn't make any difference.

The DAC and headset works fine on windows/linux side so hardware-wise everything is ok.

timo

Reply via email to