bullheadandplato / AndroidEqualizer

Android Equalizer View that can also manage the audio track frequencies
Apache License 2.0
236 stars 72 forks source link

Does this library work with soundPool object ? #7

Closed ayoubLTS closed 4 years ago

ayoubLTS commented 4 years ago

i want to use this library with soundPool but it not work `int streamId = soundPool.play(soundID, volume, volume, 2, -1, rate); DialogEqualizerFragment fragment = DialogEqualizerFragment.newBuilder() .setAudioSessionId(sessionId) ... .build();

fragment.show(getSupportFragmentManager(), "eq");`

bullheadandplato commented 4 years ago

audioSessionId is required. If you have a way for SoundPool to get audioSessionId then it'll work