Arijasoft developed android online radio SDK
using this AOR SDK you can play shoutcast/icecast ( mp3/aac) radio streams
on android
for more details look in to
http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php
http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpThanks
On
I get this to work fine through something like
audioTrack.setPositionNotificationPeriod(bufSize/8);
audioTrack.setPlaybackPositionUpdateListener(this);
...
public void onPeriodicNotification(AudioTrack track) {
int frames =
On May 1, 6:43 pm, Jean-Michel jmtr...@gmail.com wrote:
Blindfold,
Yes, with the marker set at 1000 I would now *sometimes* get the
onMarkerReached() callback, but extremely rarely (maybe once in a
hundred one-second 8-bit mono PCM sample playbacks on my ADP, which is
why I had not even
No success stories on onMarkerReached() from others, so I've now
submitted a bug report http://code.google.com/p/android/issues/detail?id=2563
Regards
On May 1, 12:37 pm, blindfold seeingwithso...@gmail.com wrote:
Should I file a bug report for Cupcake's onMarkerReached()
Blindfold,
I can get onMarkerReached() called for a STATIC AudioTrack instance. A
few things you might want to try:
- the marker position must be set in frames, not bytes. So make sure
you're not giving a marker position that's not beyond your content.
For instance if your content is stereo/8bit,
Should I file a bug report for Cupcake's onMarkerReached() in
AudioTrack playback? The only workaround I currently have for
onMarkerReached() never getting invoked is to explicitly poll
getPlaybackHeadPosition(), while taking into account extra margins for
sample rates 11025 and 22050 because
Has anybody had any success with OnPlaybackPositionUpdateListener? I'm
successfully playing one-second PCM sound clips with AudioTrack in
MODE_STATIC mode (although the playback often appears truncated), but
no matter what I do, onMarkerReached() is never called. I set
Hi, the buffer won't play in stream mode until you have filled it all
the way the first time. So make sure you are writing at least 256K of
data in the first write call.
You can actually create the AudioTrack object, then say Play() and
write data to it after it's playing (in stream mode). Once
Hey Niko thanks for your reply...
I'm not sure if I can stream mpeg or aacp streams it seems like
it's only PCM format... :(
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Help?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
You can play from a stream if you capture the stream in your program
and stream the audio to the mediaplayer. There is no direct support of
audio streams, execpt directly from server.
This sollution is somewhere in the docs...
On 26 apr, 18:27, Moto medicalsou...@gmail.com wrote:
Help?
Yeah,
currently that's my method... o well I thought something like the
AudioTrack would be nice... were you can select the type of audio to
decode not just PCM :(
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
I thought you could continuously write data into the AudioTrack as
long as the buffer size specified at the creation of the AudioTrack
was not exceeded... and you can call play() as long as there was
enough data to start playback...
--~--~-~--~~~---~--~~
You
Ok at this point I only get white noise? do I need to set the decoder?
it's an MPEG stream could a AAC+ be now supporteD?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
AudioTrack plays PCM data. The reason it sounds like noise is because that's
what mpeg sounds like when interpreted as PCM.
On Thu, Apr 23, 2009 at 3:44 PM, Moto medicalsou...@gmail.com wrote:
Ok at this point I only get white noise? do I need to set the decoder?
it's an MPEG stream
lol yeah definitely true! But for some reason I thought it would be
decoded into a playable format...
How do we play AAC+ formats and MPEG formats?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
Use the MediaPlayer class.
On Thu, Apr 23, 2009 at 6:35 PM, Moto medicalsou...@gmail.com wrote:
lol yeah definitely true! But for some reason I thought it would be
decoded into a playable format...
How do we play AAC+ formats and MPEG formats?
The issue is that you still can't stream from a radio station online
only an MP3 file from a server...
Romain Guy could you help? ^.^
Thanks Marco!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
Up to now I feel very discouraged by the new libraries... Yes they are
doing many good things for Media but when it comes to streaming
internet radios this really sucks... or maybe I'm just not
understanding how to do this... :(
Please help...
19 matches
Mail list logo