AudioTrack STREAM mode demo

All your problems with Audio, Video and Images.

AudioTrack STREAM mode demo

Postby pskink » Sun Jan 03, 2010 5:21 pm

hi,

after playing a bit with AudioTrack class i created a demo which works in STREAM mode - that is chunks of audio data are written when necessary - enabling for example streaming net content to be played

still i'm not sure if mTrack.write() methods shouldn't be called in separate thread - now they are called in UI one

attached is eclipse project with short PCM audio sample

thanks for any comments/suggestions
skink
Attachments
AudioTrackTest.tar.gz
(329.62 KiB) Downloaded 128 times
pskink
pskink
Master Developer
Master Developer
 
Posts: 719
Joined: Mon Nov 24, 2008 3:49 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 16 guests