Initial work on porting AudioStream to use mini_al.

This commit is contained in:
David Reid
2017-11-12 20:59:16 +10:00
parent b0852002b8
commit 68bf6c9701
2 changed files with 336 additions and 3 deletions

View File

@ -504,6 +504,8 @@ typedef struct AudioStream {
unsigned int sampleSize; // Bit depth (bits per sample): 8, 16, 32 (24 not supported)
unsigned int channels; // Number of channels (1-mono, 2-stereo)
void* handle; // A pointer to internal data used by the audio system.
int format; // OpenAL audio format specifier
unsigned int source; // OpenAL audio source id
unsigned int buffers[2]; // OpenAL audio buffers (double buffering)