LinHES Forums
http://forums.linhes.org/

Trying to understand sound devices
http://forums.linhes.org/viewtopic.php?f=17&t=5487
Page 1 of 1

Author:  msdemich [ Mon Jul 25, 2005 11:40 pm ]
Post subject:  Trying to understand sound devices

Would someone please enlighten me what the difference between adsp and dsp is?

Is there any difference between /dev/dsp and /dev/dsp0? (shouldn't the first device be 0?)

How do I know what card is what as far as /dev/dsp, /dev/dsp0, /dev/dsp1, etc.

Would certain devices use two or three /dev/dsp/ "slots"?


I'd like to find out exactly which sound chip I am using for in and out.

Author:  khrusher [ Tue Jul 26, 2005 6:49 am ]
Post subject: 

/dev/dsp is most likely a link to /dev/dsp0

Similar links probably exist for many devices
Code:
ls -l /dev/*[^0-9] | egrep "^l.*0$"
lrwxrwxrwx  1 root root          10 May 27 18:06 /dev/adsp -> /dev/adsp0
lrwxrwxrwx  1 root root          11 May 27 18:06 /dev/amidi -> /dev/amidi0
lrwxrwxrwx  1 root root          11 May 27 18:06 /dev/audio -> /dev/audio0
lrwxrwxrwx  1 root root           9 May 27 18:06 /dev/cdrom -> /dev/scd0
lrwxrwxrwx  1 root root           6 May 27 17:42 /dev/cloop -> cloop0
lrwxrwxrwx  1 root root           9 May 27 18:06 /dev/dsp -> /dev/dsp0
lrwxrwxrwx  1 root root           9 May 27 17:42 /dev/dtv -> /dev/dtv0
lrwxrwxrwx  1 root root           9 May 27 18:06 /dev/dvd -> /dev/scd0
lrwxrwxrwx  1 root root           9 May 27 17:42 /dev/isdnctrl -> isdnctrl0
lrwxrwxrwx  1 root root           5 May 27 17:42 /dev/mcdx -> mcdx0
lrwxrwxrwx  1 root root          11 May 27 18:06 /dev/midi -> /dev/midi00
lrwxrwxrwx  1 root root          11 May 27 18:06 /dev/mixer -> /dev/mixer0
lrwxrwxrwx  1 root root           6 May 27 17:42 /dev/radio -> radio0
lrwxrwxrwx  1 root root           6 May 27 17:42 /dev/sbpcd -> sbpcd0
lrwxrwxrwx  1 root root           4 May 27 17:42 /dev/stdin -> fd/0
lrwxrwxrwx  1 root root           4 May 27 17:42 /dev/vbi -> vbi0
lrwxrwxrwx  1 root root           4 May 27 17:42 /dev/vcs -> vcs0
lrwxrwxrwx  1 root root           5 May 27 17:42 /dev/vcsa -> vcsa0
lrwxrwxrwx  1 root root           6 May 27 17:42 /dev/video -> video0

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/