*Hello Yamusani ,*

 I am looking for the same if you have got any solution for this problem 
then please help me....

On Wednesday, May 29, 2013 4:54:24 PM UTC+5:30, Yamusani Vinay wrote:
>
> I tries to apply reverb effect on media player but i'm getting MediaPlayer 
> error(-22,0)..
>
> code:
>                                        mMediaPlayer.setDataSource(fd);
>  mReverb = new PresetReverb(0, mMediaPlayer
> .getAudioSessionId());
> mReverb.setPreset(PresetReverb.PRESET_LARGEROOM);
> mReverb.setEnabled(true);
> mMediaPlayer.attachAuxEffect(mReverb.getId());
> mMediaPlayer.setAuxEffectSendLevel(1.0f);
> mMediaPlayer.prepare();
> mMediaPlayer.start();
>
> added permisions in manifest file
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to