On Fri, 6 Sep 2002, Guilhem Tardy wrote: > Hi, > > snd_pcm_hardware_t is NOT pre-initialized, and drivers are responsible to > define ALL fields necessary. This is too bad, because it essentially means that > a new constraint (i.e. period_size_min + period_size_max) will need to be > supported by all drivers. > > I have tested successfully such a new constraint (patch in attachment), and > hope that you'll incorporate it in the cvs anyway.
I don't think that we need such contraint in the midlevel code. Please, add it only to your driver to open() callback. Anyway, it's not too good to change numbers for formats. BTW: Can compression algorithms be used only for specific sample rates? Otherwise, I don't see any reason to put KBPS to format name. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> SuSE Linux http://www.suse.com ALSA project http://www.alsa-project.org ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel