bpa;587280 Wrote: 
> AFAICT Android audio API can handle streaming MP3 audio but not Flac so
> the player app should only handle MP3 streams from SBS (i.e. force mp3
> transcoding or enable bit rate limiting) possibly easiest by adding a
> new player model.  This may not be a bad compromise as audio output
> hardware of phones/tablets is probably limited.

Well, if you want to play a byte[] buffer, Android is only able to play
raw PCM data.

Android can, with some limitations, play MP3 and other formats, but
AFAIK that only works if you connect to a http streaming source and let
Android handle all the stuff on its own.

For a SqueezeSlave port, you probably want to implement the SlimProto
protocol and create your own buffer, but that will only work with PCM
data (and not with MP3 or any other format). :-/

So, you either have to live with a PCM only stream (good luck using
this over a 3G connection) or you need to also include a MP3 decoder
library, but that implicates some licensing issues...

Unfortunately, it's not really simple...


-- 
flattermann

Christian

Home of 'SqueezeCommander' (http://www.squeezecommander.com) - The
SqueezeBox Remote Control App for Android
------------------------------------------------------------------------
flattermann's Profile: http://forums.slimdevices.com/member.php?userid=33169
View this thread: http://forums.slimdevices.com/showthread.php?t=62060

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to