[android-developers] Playing sound Visualization

2022-10-03 Thread Павел Лущан
Hello. In my application i need to retrive sound data (for my own visualizer) witch currently playing. I have the audioSessionId, but when i create Visualizer: new Visualizer(audioSessionId), i receive following error: E/AudioEffect(19004): set(): AudioFlinger could not create effect e46b26a0-d

[android-developers] Playing Sound

2012-07-12 Thread limtc
Hi, I have a few questions related to sound playback in game. - is using AsyncPlayer faster than MediaPlayer for playing background MP3 music? I guess so since it should run in another thread and it is possible that a multiple core CPU uses another core to play the music? - is SoundPool a good

Re: [android-developers] Playing sound with mediaplayer

2011-02-23 Thread Marcin Orlowski
> Am I missing something? You miss prepare() before calling start() http://developer.android.com/reference/android/media/MediaPlayer.html#prepare%28%29 -- Regards, Marcin -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gr

[android-developers] Playing sound with mediaplayer

2011-02-23 Thread vnv
Hi, I would like to play sound file from resources. Code generates NullException on running from activity. Code goes like this: private void playBell(){ MediaPlayer mp = MediaPlayer.create(Calibrate.this, R.raw.beep); mp.start(); mp.setO

Re: [android-developers] playing sound

2010-11-04 Thread TreKing
On Wed, Nov 3, 2010 at 11:08 PM, nena joy wrote: > Thanks for the help. > What help? > But how create thread in background for playing sound? > Same way you create a thread in background for any other purpose. Check the documentation and and use Google - there's a plethora of information on J

[android-developers] playing sound

2010-11-03 Thread nena joy
Hello, Thanks for the help. But how create thread in background for playing sound? -- 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

[android-developers] playing sound when a call is running in android

2010-09-16 Thread Achint
Hi All, I want my app to play a sound file over the voice channel when a call is running, how can I acheive this? I searched this group and got this link http://groups.google.com/group/android-developers/browse_thread/thread/966e788950155dae/d58862ec470a652e?lnk=gst&q=playing+sound+when+a+call+is

[android-developers] playing sound on active call

2009-08-28 Thread Honest
I am playing one audio file when call arrives so the caller can receive it at other side but the issue is yet the opposite caller is not able to listen it what could be wrong in it. Can some one tell me what can be the issue in it ? --~--~-~--~~~---~--~~ You recei

[android-developers] Playing sound from memory

2009-04-27 Thread rookie1_1998
I need a way to play a short sound clip repeatedly very fast, with precise timing for musical purpose. I looked around, and it seems like MediaPlayer and SoundPool don't guarantee lag-free playing. Is there anyway I could load the sound to memory myself and play from memory (edit the stream)? I