On Thu, Apr 15, 2021, at 10:30, Alexandre Ratchov wrote:
> On Thu, Apr 15, 2021 at 09:56:27AM -0400, Jeremy O'Brien wrote:
> > On Thu, Apr 15, 2021, at 09:32, Alexandre Ratchov wrote:
> > > 
> > > Does the player exit immediately? if it doesn't, could you start
> > > playing a long enough file, then use audioctl see if play.bytes and/or
> > > play.errors increase?
> > > 
> > > 
> > 
> > x1$ doas audioctl -f /dev/audioctl1  
> > name=uaudio0
> > mode=play
> > pause=0
> > active=1
> > nblks=16
> > blksz=480
> > rate=48000
> > encoding=s16le4msb
> > play.channels=2
> > play.bytes=42677760
> > play.errors=0
> > record.channels=2
> > record.bytes=0
> > record.errors=0
> > 
> > player doesn't immediately exit. play.bytes continues to increase as the 
> > track "plays".
> > 
> 
> Data is flowing through the device, but there's no sound so either the
> encoding is wrong (most probably) or volume is set to zero.
> 
> To check the encodings could you try the following:
> 
>       audioctl -f /dev/audio1 encoding=s16le
>       cat /dev/urandom >/dev/audio1
> 
>       audioctl -f /dev/audio1 encoding=s16le3msb
>       cat /dev/urandom >/dev/audio1
> 
>       audioctl -f /dev/audio1 encoding=s16le4msb
>       cat /dev/urandom >/dev/audio1
> 
>       audioctl -f /dev/audio1 encoding=s24le3
>       cat /dev/urandom >/dev/audio1
> 
>       audioctl -f /dev/audio1 encoding=s24le4msb
>       cat /dev/urandom >/dev/audio1
> 
>       audioctl -f /dev/audio1 encoding=s32
>       cat /dev/urandom >/dev/audio1
> 
> which encoding produces noise?
> 
> If neither produces sound, I see no other option than searching for
> any volume or "usb dac" settings on the device to crank the volume.
> 
> 

No sound is produced on any of these. The DAC's volume is cranked. I see no 
volume controls for this device in openbsd:

x1$ doas mixerctl -f /dev/audioctl1
record.enable=sysctl

That error in dmesg continues to be spammed:
uaudio0: sync play xfer, err = 6

Reply via email to