diff options
author | Chris Robinson <[email protected]> | 2009-10-25 05:03:22 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-10-25 05:03:22 -0700 |
commit | b0a82aa420c4bbeb465a0ee0300517f25b2ca6af (patch) | |
tree | 28da8e4fdfbbe73eba691583d91ec9674957640d /OpenAL32/Include/alSource.h | |
parent | c003d6032de251ed58874fc712714e4725bbde9a (diff) |
Store the buffer format and frequency in the source when updated
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r-- | OpenAL32/Include/alSource.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index 663a9e35..7f18eee3 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -52,6 +52,8 @@ typedef struct ALsource ALuint position_fraction; struct ALbuffer *Buffer; + ALenum Format; + ALuint Frequency; struct ALbufferlistitem *queue; // Linked list of buffers in queue ALuint BuffersInQueue; // Number of buffers in queue |