Skip to contentSkip to conversation

non standard sample rate

DISCUSSION Giuliano Pochini 2 participants 2 messages Mar 27, 2004 – Mar 28, 2004

lore
Share & tools
lore
#0 lore raw

The hw supports all standard sample rates from 8KHz to 96KHz and continuous mode, but the latter only in the range 25KHz-100KHz. What kind of constraint I have to set ?

--
Giuliano.

-------------------------------------------------------
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 3 lines · Giuliano Pochini

The hw supports all standard sample rates from 8KHz to 96KHz and continuous mode, but the latter only in the range 25KHz-100KHz. What kind of constraint I have to set ?

You need to create your own constraint (rule) in this case in the pcm open() callback.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
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