On Sat, Feb 10, 2024 at 8:17 AM Carsten Grzemba via openindiana-discuss <
[email protected]> wrote:
> For do some preliminary testing on update Pulseaudio I am interested in
> a small contribution.
>
> If anyone has more then one audio device, I am interested in the output of:
>
> $ ls -l /dev/audio*
>
> $ ls -l /dev/sound*
>
>
> $ ls -l /dev/dsp*
>
My experience is that with multiple sound devices, the wrong one is picked
as the default more often than not. On my machine, I've had to replace the
unversioned links to device 1 rather than the default 0. And set
AUDIODEV to /dev/dsp1 to get GStreamer applications to work. Some things
talk to /dev/mixer as well...
> ls -l /dev/audio*
lrwxrwxrwx 1 root root 7 Apr 10 2019 /dev/audio -> sound/1
lrwxrwxrwx 1 root root 10 Apr 10 2019 /dev/audioctl ->
sound/1ctl
> ls -l /dev/sound*
total 12
lrwxrwxrwx 1 root root 9 Mar 20 2019 0 -> audiohd:0
lrwxrwxrwx 1 root root 12 Mar 20 2019 0ctl -> audiohd:0ctl
lrwxrwxrwx 1 root root 9 Mar 20 2019 1 -> audiohd:1
lrwxrwxrwx 1 root root 12 Mar 20 2019 1ctl -> audiohd:1ctl
lrwxrwxrwx 1 root root 48 Mar 20 2019 audiohd:0 ->
../../devices/pci@0,0/pci1028,5a4@3:sound,audio0
lrwxrwxrwx 1 root root 51 Mar 20 2019 audiohd:0ctl ->
../../devices/pci@0,0/pci1028,5a4@3:sound,audioctl0
lrwxrwxrwx 1 root root 46 Mar 20 2019 audiohd:0dsp ->
../../devices/pci@0,0/pci1028,5a4@3:sound,dsp0
lrwxrwxrwx 1 root root 48 Mar 20 2019 audiohd:0mixer ->
../../devices/pci@0,0/pci1028,5a4@3:sound,mixer0
lrwxrwxrwx 1 root root 49 Mar 20 2019 audiohd:1 ->
../../devices/pci@0,0/pci1028,5a4@1b:sound,audio1
lrwxrwxrwx 1 root root 52 Mar 20 2019 audiohd:1ctl ->
../../devices/pci@0,0/pci1028,5a4@1b:sound,audioctl1
lrwxrwxrwx 1 root root 47 Mar 20 2019 audiohd:1dsp ->
../../devices/pci@0,0/pci1028,5a4@1b:sound,dsp1
lrwxrwxrwx 1 root root 49 Mar 20 2019 audiohd:1mixer ->
../../devices/pci@0,0/pci1028,5a4@1b:sound,mixer1
> ls -l /dev/dsp*
lrwxrwxrwx 1 root root 4 Feb 8 2020 /dev/dsp -> dsp1
lrwxrwxrwx 1 root root 18 Mar 20 2019 /dev/dsp0 ->
sound/audiohd:0dsp
lrwxrwxrwx 1 root root 18 Mar 20 2019 /dev/dsp1 ->
sound/audiohd:1dsp
> ls -l /dev/mixer*
lrwxrwxrwx 1 root root 7 Dec 9 18:36 /dev/mixer -> sndstat
lrwxrwxrwx 1 root root 20 Mar 20 2019 /dev/mixer0 ->
sound/audiohd:0mixer
lrwxrwxrwx 1 root root 20 Mar 20 2019 /dev/mixer1 ->
sound/audiohd:1mixer
> cat /dev/mixer
SunOS Audio Framework
Audio Devices:
0: audiohd#0 onboard1, a (DUPLEX)
1: audiohd#1 onboard1, a (DUPLEX)
Mixers:
0: audiohd#0 onboard1, a
Unknown HD codec: 0x80862807
1: audiohd#1 onboard1, a
Unknown HD codec: 0x10ec0280
--
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss