the switching is there but no sound is reaching the usb card

"in your case rsnd/1. This can be 
set in rc.conf.local: 'sndiod_flags=-f rsnd/1' then restart sndiod 
'/etc/rc.d/sndiod restart'."

testing this I used ogg123 to play the song for openbasd 5.7
using "rsnd/0" or "rsnd" and restarting sndiod each time, plays the song fine
from the onboard azalia sound output. 
using "rsnd/1" and resetting goes well but ogg123 freezes upon attempting to
buffer for playback and an error message appears on the primary console
"uaudio_chan_open : error creating pipe : INVAL endpt=0x01"

resetting sndiod ends the ogg123 action returning it to a command prompt

any suggestions?



I have pointed audio, mixer, mixerctl and sound in /dev/ as below so mixerctl
now points to the usb card.

cd /dev/
./MAKEDEV audio1
rm audio sound mixer mixerctl
ln -s audio1 audio
ln -s sound1 sound
ln -s mixer1 mixer
ln -s mixerctl1 mixerctl

this is information I found from a post about how to get a usb card recognised.

http://daemonforums.org/showpost.php?s=f7c88180485541dd144b8566dbb23481&p=836&postcount=10

it works fine for getting the card recognised by mixer but currently no sound
outputing from the usb card.


Douglas

---------- Original Message -----------
From: Stuart Henderson <s...@spacehopper.org>
To: openbsd-newbies@sfobug.theapt.org
Sent: Thu, 24 Sep 2015 23:07:06 +0000 (UTC)
Subject: Re: changing default soundcard

> On 2015-09-24, Douglas Hunter <douglas.hun...@spiug.me.uk> wrote:
> >
> > How do I change my soundcard over?
> >
> > according to dmesg I have 
> > an “Intel Series 6 HD Audio” assigned as azalia1 at audio0
> > and a C-media usb soundcard assigned as uaudio0 at audio1
> >
> > running mixerctl provides indication that the current default card is the
> > azalia1 ( , it has far more inputs/output options than the c-media would
have).
> 
> sndiod takes an optional -f parameter to use a different sndio 
> device. The default is rsnd/0, corresponding to audio0 in the dmesg, 
> but you can use a different one, in your case rsnd/1. This can be 
> set in rc.conf.local: 'sndiod_flags=-f rsnd/1' then restart sndiod 
> '/etc/rc.d/sndiod restart'.
> 
> _______________________________________________
> Openbsd-newbies mailing list
> Openbsd-newbies@sfobug.theapt.org
> http://mailman.theapt.org/listinfo/openbsd-newbies
------- End of Original Message -------
_______________________________________________
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to