#include "../../common/platform.h"
Go to the source code of this file.
Data Structures | |
struct | Instrument |
struct | SoundCommon |
struct | AdLibSound |
Functions | |
wtBoolean | ADLIB_Init () |
void | ADLIB_Shutdown () |
Shutdown adlib hardware. | |
void * | ADLIB_DecodeSound (AdLibSound *sound, W32 *length) |
Decode adlib sound. | |
W32 | ADLIB_getLength (void *musbuffer) |
Get music length in milliseconds. | |
void | ADLIB_LoadMusic (void *musbuffer) |
Setup music decoder. | |
W32 | ADLIB_UpdateMusic (W32 size, void *buffer) |
Decode adlib music sound. |
void* ADLIB_DecodeSound | ( | AdLibSound * | sound, | |
W32 * | length | |||
) |
Decode adlib sound.
[in] | inst | Valid pointer to Instrument structure. |
[out] | length | Length of decoded sound data in bytes. |
W32 ADLIB_getLength | ( | void * | musbuffer | ) |
Get music length in milliseconds.
[in] | musbuffer | musicGroup_t data structure. |
[in,out] | buffer | Hold decoded sound data. |
void ADLIB_LoadMusic | ( | void * | musbuffer | ) |
Setup music decoder.
[in] | musbuffer | musicGroup_t data structure. |
W32 ADLIB_UpdateMusic | ( | W32 | size, | |
void * | buffer | |||
) |
Decode adlib music sound.
[in] | size | Number of bytes to write to buffer. |
[in,out] | buffer | Hold decoded sound data. |