My log cat shows the following errors when I run the activity and play the sound.. I'm not finding any clear documentation on this via search
11-05 00:21:02.848: ERROR/(2184): PLAYREADY SISO CPM plugin cpm.cpp Command Complete EventData (null) 11-05 00:21:03.228: ERROR/Pv_player_engine(2184): DoResume - Pv_player_engine 11-05 00:21:14.613: ERROR/AudioPolicyService(2184): Request requires android.permission.MODIFY_AUDIO_SETTINGS 11-05 00:21:14.618: ERROR/AudioPolicyManager(2184): AudioOutputDescriptor isUsedByStrategy() stream 3, strategy 0 11-05 00:21:13.093: ERROR/ALSALib(2184): external/alsa-lib/src/pcm/ pcm.c:7231:(snd_pcm_recover) underrun occured On Nov 4, 10:40 pm, acr <[email protected]> wrote: > I have a timer thread setup to play a loop using soundpool, but for > some reason I cannot get _soundPool.stop(_playbackTimer); to stop > the loop. even if I exit the application the loop keeps running. I > have to physically power off the phone to get it to stop. am I missing > something here? Does anyone have any experience with this? I have > searched with no resolution. below is a snippet. > > if(timeLeft>0 && timeLeft<20 && ticking == false){ > _soundPool.play(_playbackTimer, 0.3f, 0.3f, 0, -1, 1); > ticking=true; > } > > if(timeLeft==0 || timeLeft>20){ > _soundPool.stop(_playbackTimer); > ticking=false; > } -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

