diff options
Diffstat (limited to 'src/org/cyanogenmod/audiofx/audiofx/backends/IEffectFactory.java')
-rw-r--r-- | src/org/cyanogenmod/audiofx/audiofx/backends/IEffectFactory.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/org/cyanogenmod/audiofx/audiofx/backends/IEffectFactory.java b/src/org/cyanogenmod/audiofx/audiofx/backends/IEffectFactory.java new file mode 100644 index 0000000..8e629b8 --- /dev/null +++ b/src/org/cyanogenmod/audiofx/audiofx/backends/IEffectFactory.java @@ -0,0 +1,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); +} |