Skip to contentSkip to conversation

alsa substreams +rates

DISCUSSION Brian Furey 2 participants 2 messages Apr 9, 2004 – Apr 13, 2004

lore
Share & tools
lore
#0 lore raw

Hi All,
with the ALSA driver, what do the OSS substream
mean?If you have a 2 main capture channels, how many substream would you have?
Also the capture stream is supposed to operate at 8000 Hz per second.Is it possible that it is actually say 8192, a value to the power-of-two?
How can I find this out?

Brian.

____________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#1 lore raw
Quoted 1 line · Brian Furey

with the ALSA driver, what do the OSS substream mean?

There are no "OSS substreams". ALSA PCM devices have substreams. A device with more than one substream can be opened multiple times simultaneously.

Quoted 2 lines

If you have a 2 main capture channels, how many substream would you have?

Depends on the hardware, and is completely unrelated to the number of channels.

Quoted 2 lines

Also the capture stream is supposed to operate at 8000 Hz per second.

8000 Hz is just the default.

Quoted 2 lines

Is it possible that it is actually say 8192, a value to the power-of-two?

It's 8000, for historical reasons (the standard rate of some telephony codec, which was then used on some early UNIX systems, or something like that).

HTH
Clemens

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click