You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
620 B
24 lines
620 B
package com.jme3.audio.android;
|
|
|
|
import com.jme3.audio.AudioRenderer;
|
|
|
|
/**
|
|
* Android specific AudioRenderer interface that supports pausing and resuming
|
|
* audio files when the app is minimized or placed in the background
|
|
*
|
|
* @author iwgeric
|
|
*/
|
|
public interface AndroidAudioRenderer extends AudioRenderer {
|
|
|
|
/**
|
|
* Pauses all Playing audio. To be used when the app is placed in the
|
|
* background.
|
|
*/
|
|
public void pauseAll();
|
|
|
|
/**
|
|
* Resumes all Paused audio. To be used when the app is brought back to
|
|
* the foreground.
|
|
*/
|
|
public void resumeAll();
|
|
}
|
|
|