Data Structures | |
| union | audio_formats |
| Union to mantain all the supported audio formats. More... | |
| struct | MJPGA_AUDIO |
| The struct containing all information to play the audio. More... | |
Defines | |
| #define | MJPGA_AUDIO_PCM DAT_SAMPLE |
| PCM uncompressed. | |
| #define | MJPGA_AUDIO_PCMSTREAM AL_ID('S', 'T', 'R', 'M') |
| Streaming of PCM uncompressed. | |
| #define | MJPGA_AUDIO_MP3 AL_ID('M', 'P', '3', ' ') |
| MP3. | |
| #define | MJPGA_AUDIO_MP3STREAM AL_ID('M', 'P', '3', 'S') |
| Streaming of MP3. | |
| #define | AVI_AUDIO_PCM 0x01 |
| FCC of PCM uncompressed in avi file. | |
| #define | AVI_AUDIO_MP3 0x55 |
| FCC of MP3 in avi file. | |
Typedefs | |
| typedef MJPGA_AUDIO | MJPGA_AUDIO |
| The struct containing all information to play the audio. | |
Functions | |
| int | mjpga_audio_open (MJPGA_MOVIE *mjpga) |
| Open the audio in the movie, allocating the needed memory and loading the first amount of audio. | |
| int | mjpga_audio_poll (MJPGA_MOVIE *mjpga) |
| Poll the audio. | |
| void | mjpga_audio_destroy (MJPGA_MOVIE *mjpga) |
| Free the memory. | |
| void | mjpga_audio_play (MJPGA_MOVIE *mjpga) |
| Play the movie's audio. | |
Actually it supports only PCM uncompressed and mp3
Created - 07/03/2003Updated - 04/04/2003
|
|
Free the memory. The mjpga is a succesfully opened MJPGA_MOVIE.
|
|
|
Open the audio in the movie, allocating the needed memory and loading the first amount of audio. The mjpga is a succesfully opened MJPGA_MOVIE. Return 0 if ok, or 1 on error.
|
|
|
Play the movie's audio. The argument mjpga is the movie previously opened
|
|
|
Poll the audio. The mjpga is a succesfully opened MJPGA_MOVIE. Return the result of the poll.
|
1.2.18