summaryrefslogtreecommitdiffstats
path: root/src/com/cyngn/audiofx/backends/IEffectFactory.java
blob: 8e629b877170a658879b0c3249b0f8babbd61212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.cyngn.audiofx.backends;

import android.content.Context;
import android.media.AudioDeviceInfo;

interface IEffectFactory {

    /**
     * Create a new EffectSet based on current stream parameters.
     * @param context context to create the effect with
     * @param sessionId session id to attach the effect to
     * @param currentDevice current device that the effect should initially setup for
     * @return an {@link EffectSet}
     */
    EffectSet createEffectSet(Context context, int sessionId, AudioDeviceInfo currentDevice);
}