Examples of OALSimpleAudio


Examples of com.badlogic.gdx.backends.iosrobovm.objectal.OALSimpleAudio

import com.badlogic.gdx.utils.GdxRuntimeException;

public class IOSAudio implements Audio {

  public IOSAudio (IOSApplicationConfiguration config) {
    OALSimpleAudio audio = OALSimpleAudio.sharedInstance();
    if (audio != null) {
      audio.setAllowIpod(config.allowIpod);
      audio.setHonorSilentSwitch(true);
    } else
      Gdx.app.error("IOSAudio", "No OALSimpleAudio instance available, audio will not be availabe");
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.