ContentsIndex
PreviousUpNext
Audio
Topics | Functions | Structs, Records, Enums | Types
Description

The Audio API plays, records and streams audio files.

Introduction

The Audio API provides features to play the following file formats: MIDI, MP3, AAC, WAV and AMR, as well as volume adjustment function. It can also record audio files in WAV and AMR format in addition to streamimg which allows you to play audio streams in PCM, AMR, AAC and MP3 formats.

Limitation

N/A

Functions
Function 
Description 
Clears interrupt callback 
Gets the currently set volume level. 
Check if it is in calling now 
This is to check if there is another applications that is currently playing audio 
Closes the opened audio. 
Get the current play time. 
Opens an audio file. 
Pause the audio playback. 
Resume audio playback 
Plays the audio 
Stops the opened audio. 
Pause recording. 
Resume recording. 
Starts recording. 
Stops recording. 
Registers an interrupt callback. When the audio playback is interrupted, this callback will be invoked. 
Sets the play volume level. 
Closes the bit-stream audio. 
Tells the driver to put no more data through. 
Gets the data buffer status including free buffer and total buffer size. 
Gets the current play time. 
Opens a PCM type bit-stream audio. 
Puts the audio data to the buffer. 
Starts to play audio. 
Stop playing the audio. 
Structs, Records, Enums
Struct, Record, Enum 
Description 
path to play 
media type 
open parameters 
record operation result 
audio operation result 
buffer status 
PCM bit-stream audio configuration structure 
play audio parameters 
Audio volume level enum for 7 level volume 
Types
Type 
Description 
audio handle 
VM_AUDIO_RECORD_RESULT
Record callback function. 
Audio callback function pointer 
Links
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.