Hello Keith, Well done, now Im wondering if it isn't possible to use alsa buffer all the time instead of copying to a temporary buffer? I mean can't we just point to the first pcm frame processed but not encoded? (If not freed already by alsa) Also there is some code duplication, but still the idea is very good. If you could please check the performance with oprofile. -- Luiz Augusto von Dentz Engenheiro de Computação ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bluez-devel mailing list Bluez-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/bluez-devel