From: Fabien Chevalier <fabchevalier@free.fr>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] CVS audio-api.txt : 1st question
Date: Wed, 11 Jul 2007 19:33:52 +0200 [thread overview]
Message-ID: <46951480.3060107@free.fr> (raw)
In-Reply-To: <2d5a2c100707062329n5999472dv9159d5f3700dde80@mail.gmail.com>
Hi All,
Please find below some comments
>> 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)
I agree with you : none of those are acceptable. However you may have
missed something : MP3 is not to be used as an output format if
bluetooth is plugged to a sound mixing daemon :-).
In this case SBC is to be used :-)
The only valid case of MP3 streaming is the one when you build a
dedicated audio path between the application(multimedia player) and the
hardware device(bt headset). In this case there is no notion of "system
sounds" that would appear and would need to be mixed in :-)
>>
>> 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.
>
> I wont consider going with gstreamer set of elements instead of an
> alsa plugin for system wide
My remark was not one against the other.
Obviously there are so many ALSA applications that an ALSA option is a
must have. :-)
However a decicated gstreamer support would be nice to have, too.
, as you said we might have some
> technical challengers and as a sound "card" this is not exactly a
> good idea. So as a system wide solution we must have a alsa plugin
> that just deliver sbc codec.
Agreed. Alsa plugin should implement sbc codec only (no mp3 needed here
:-) )
>
> A future work perhaps we may be possible to deliver something more
> flexible to application, but in this case application would have to handle
> the stream by it' s own.
Like a GStreamer based application for instance, that is already used to
build its own media pipeline :-)
>
> Why Im already considering this advanced usage? We have an ipc
> system that should be flexible enough to be able to work with
> those applications.
Agreed. We should be able to plug whatever system using this ipc
mechanism, including:
- an ALSA plugin
- a GStreamer bt element
- a sound server
> I guess it should be possible for someone to
> add native support for multimedia frameworks such as gstreamer,
> but the support itself is outside the scope of bluez.
>
I guess one of those days i'm gonna hack a gstreamer element just for
fun :-)... and to prove it's feasible :-)
Cheers,
Fabien
-------------------------------------------------------------------------
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
next prev parent reply other threads:[~2007-07-11 17:33 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-29 15:21 [Bluez-devel] CVS audio-api.txt : 1st question Fabien Chevalier
2007-06-29 18:10 ` Luiz Augusto von Dentz
2007-06-29 20:38 ` Brad Midgley
2007-07-02 17:03 ` Fabien Chevalier
2007-07-03 3:31 ` Brad Midgley
2007-07-03 8:04 ` Fabien Chevalier
2007-07-03 19:54 ` Luiz Augusto von Dentz
2007-07-03 21:08 ` Brad Midgley
2007-07-03 22:25 ` Luiz Augusto von Dentz
2007-07-04 1:57 ` Marcel Holtmann
2007-07-05 12:21 ` Fabien Chevalier
2007-07-05 13:53 ` Luiz Augusto von Dentz
2007-07-05 15:48 ` Fabien Chevalier
2007-07-05 14:12 ` Frederic Dalleau
2007-07-05 15:55 ` Fabien Chevalier
2007-07-05 16:40 ` Brad Midgley
2007-07-06 7:43 ` Fabien Chevalier
2007-07-06 13:12 ` Luiz Augusto von Dentz
2007-07-06 13:32 ` Fabien Chevalier
2007-07-06 13:43 ` Frederic Dalleau
2007-07-06 15:01 ` Luiz Augusto von Dentz
2007-07-06 17:07 ` Fabien Chevalier
2007-07-06 23:44 ` Brad Midgley
2007-07-07 6:29 ` Luiz Augusto von Dentz
2007-07-11 17:33 ` Fabien Chevalier [this message]
2007-07-11 21:56 ` Brad Midgley
2007-07-06 15:24 ` Fabien Chevalier
2007-07-06 15:38 ` Frederic Dalleau
2007-07-06 16:56 ` Fabien Chevalier
2007-07-05 12:53 ` Fabien Chevalier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46951480.3060107@free.fr \
--to=fabchevalier@free.fr \
--cc=bluez-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox