Return-Path: Message-ID: Date: Fri, 6 Jul 2007 17:44:17 -0600 From: "Brad Midgley" To: "BlueZ development" In-Reply-To: <468E76DD.6070303@free.fr> MIME-Version: 1.0 References: <46852386.8050608@free.fr> <1183514223.6351.56.camel@aeonflux.holtmann.net> <468CE233.8000909@free.fr> <468DF298.5010205@free.fr> <2d5a2c100707060612g6ed3a543g9f36b6db49a97a95@mail.gmail.com> <468E446A.1000204@free.fr> <468E46E5.2050206@access-company.com> <2d5a2c100707060801s413d8bdclb0b25a4f5a340773@mail.gmail.com> <468E76DD.6070303@free.fr> Subject: Re: [Bluez-devel] CVS audio-api.txt : 1st question Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi > In my opinion the native elements wouldn't do any encoding/decoding > work: this is clearly GStreamer Job as a media converting framework. > I think we would have to: > - extend the already included RTP GStreamer element to accept sbc and > mp3 encoded streams. > - wrap libsbc into a GStreamer element to do convert to do PCM to sbc. > - create an a2dp Gstreamer element Although this is really cool to deliver mp3 to the headset (less cpu load, less transcoding noise), it might go too far down the road of an early optimization for the case of a single audio client. Mikko L at Nokia basically said they wouldn't consider anything along these lines since it gets so complicated when a system sound needs to interrupt mp3 playback. Do you: - mix two mp3 streams together (technically possible) - reconfigure the set for sbc and encode the streams to sbc (best case is a delay, worst case a crash in the set during reconfiguration) - stop the mp3 player and play the system sound mp3 instead (tricky) It doesn't help that there's not much notion of a sound "card" that can natively decode mp3. The audio servers don't account for this possibility at all. Brad ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel