Em Wed, 15 Jul 2009 17:36:25 +0200 Oldrich Jedlicka <oldium.pro@xxxxxxxxx> escreveu: > > So, maybe the right thing to do is to report just 32 kHz. > > Exactly. This is what I'm thinking about too. The typical ALSA usage > (according to [1]) is: > > 1. open the device > 2. set parameters of the device > 3. repeat until not done: read from the device, write to the device > 4. close the device > > There is nothing in between ALSA and the program, so the frequency change > isn't and cannot be propagated from the driver (for this to work there has to > be somebody doing the frequency resampling). > > So to have the ability to switch capture sources (the basic ALSA > functionality), it is needed to support the same set of frequencies for all > the capture sources - 32kHz. > > If we can agree on this, then I have one part of questions closed :-) > > [1] http://www.equalarea.com/paul/alsa-audio.html Yes, I agree. The patch changing this should add a proper description and a source-code comment explaining why supporting 48kHz is not a good idea. Cheers, Mauro -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html