Example usage for com.badlogic.gdx Audio newMusic

List of usage examples for com.badlogic.gdx Audio newMusic

Introduction

In this page you can find the example usage for com.badlogic.gdx Audio newMusic.

Prototype

public Music newMusic(FileHandle file);

Source Link

Document

Creates a new Music instance which is used to play back a music stream from a file.

Usage

From source file:org.illarion.engine.backend.gdx.SaveGdxOpenALMusic.java

License:Open Source License

public SaveGdxOpenALMusic(@Nonnull Audio audio, @Nonnull FileHandle ref) {
    super((OpenALAudio) audio, ref);
    internalMusic = (OpenALMusic) audio.newMusic(ref);
}