badlogic edited this page Sep 14, 2013 · 1 revision

Libgdx provides methods to playback small sound effects as well as stream larger music pieces directly from disk. It also provides convenient read and write access to the audio hardware.

All access to the audio facilities is done through the audio module, referenced by:

Audio audio = Gdx.audio;

Libgdx will automatically pause and resume all audio playback for you if your application is paused and resumed.

Table of Contents

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.