com.badlogic.gdx.backends.iosrobovm.DisabledIOSAudio Maven / Gradle / Ivy
/*DO NOT EDIT THIS FILE - it is machine generated*/
package com.badlogic.gdx.backends.iosrobovm;
import com.badlogic.gdx.audio.AudioDevice;
import com.badlogic.gdx.audio.AudioRecorder;
import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.utils.GdxRuntimeException;
/** DO NOT EDIT THIS FILE - it is machine generated */
public class DisabledIOSAudio implements IOSAudio {
@Override
public void didBecomeActive () {
}
@Override
public void willEnterForeground () {
}
@Override
public void willResignActive () {
}
@Override
public void willTerminate () {
}
@Override
public AudioDevice newAudioDevice (int samplingRate, boolean isMono) {
throw new GdxRuntimeException("iOS audio is not enabled by the application config");
}
@Override
public AudioRecorder newAudioRecorder (int samplingRate, boolean isMono) {
throw new GdxRuntimeException("iOS audio is not enabled by the application config");
}
@Override
public Sound newSound (FileHandle fileHandle) {
throw new GdxRuntimeException("iOS audio is not enabled by the application config");
}
@Override
public Music newMusic (FileHandle file) {
throw new GdxRuntimeException("iOS audio is not enabled by the application config");
}
@Override
public boolean switchOutputDevice (String deviceIdentifier) {
return false;
}
@Override
public String[] getAvailableOutputDevices () {
return new String[0];
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy