Em Seg, 2009-06-08 às 19:06 +0100, Mark Brown escreveu: > Think about TDM mode for a minute here - there a separate configuration > for the sample size on the wire opens the way to using a lower sample > size in a given timeslot than the timeslot supports, reducing the need > for the CPU to rewrite data. Or to put it another way, I can't see TDM > mode working unless the sample size is constrained to always be exactly > that desired so it seems sensible to have a standard way of doing that. Hum... Now I understood this. If i want to use network mode with 2 different codecs, and they differ on the expected frame_size i have to use the smaller frame_size for both codecs. And indeed, in this case the best place to setup the frame size would be on set_tdm_slot(). > I'd rather come up with a cleaner way of configuring the magician case > that's explicit about what it's trying to achieve. It doesn't need to > be in user space, though. I dont know how to do this other than just changing the frame size... :) -- Daniel Ribeiro
Attachment:
signature.asc
Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem assinada digitalmente
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel