WAV Player
Tizen enables your application to play audio in 1 of 2 ways:
- Audio player AppControl
When using the audio application control, the device standard media player application is launched to play audio.
-
wav player header
When using the wav player header, your application uses its own user interface.
The WAV Player API provides controlling functions for using audio resources. The resources can be a media file stored in the device.
Use the WAV Player API to enable your application to play audio and control playback. The audio features of this API include:
- Playing audio media from local files
- Controlling playback using play and stop
The audio formats your application can use with the WAV Player API include:
- WAV, OGG
Most operations of the WAV Player API work in synchronous mode The WAV Player API requires a callback to notify the application of the operational status of the player. The callback must be implemented and passed to stop the WAV playback.
Multiple instances of the wav player can be used to play several audio data streams concurrently. This means that your application can play multiple uncompressed audio files, such as WAV, at the same time.
The most common audio uses of the WAV Player API include:
- Playing an audio file and controlling the playback
- Handling player controls
The following figure illustrates the general WAV player state changes.
Figure: WAV player state changes