-
-
Notifications
You must be signed in to change notification settings - Fork 168
kha.audio1
RblSb edited this page Sep 5, 2018
·
3 revisions
kha.audio1
is the simplest API for reproduction of audio assets. It supports playing and streaming of sound files. Audio files are represented by an AudioChannel
object which exposes methods for handling file playback.
In order to play an audio you have to decompress it first. Use Assets.sounds._soundName_.uncompress
.
If you plan to stream
the audio, you don't need to decompress it.
Assets.loadEverything
will automatically decompress all audio.
kha.audio1
is not yet implemented on Android (Java).
- Introduction
- Getting Started
- Breaking Changes
- FAQ
- System targets
- Graphics targets
- Documentation
- API package descriptions