Hi,

I have a problem with supporting multiple audio formats in that my hardware
defines its buffers in a number of frames rather than bytes.

I evaluated the changes required to support description of a hardware's period
contraints in frame AND bytes. Essentially, this would mean adding 'size_t
period_size_min' and 'size_t period_size_max' to the stucture _snd_pcm_hardware
in pcm.h, and then add a constraint in snd_pcm_hw_constraints_complete() in
pcm_native.c such that the period size is within those min and max values.
Other drivers wouldn't be affected if the period_size_min/max default values
are properly chosen (i.e. 0 and MAX_UINT, respectively).

Would you consider such a change in the ALSA code base?

Guilhem.


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to