#include <dr_audio_ancient.h>
Public Attributes | |
bool | isUsingStreamingBuffer |
[Internal Use Only] Keeps track of whether or not a streaming buffer is being used. More... | |
bool | markedForDeletion |
draudio_on_sound_delete_proc | onDelete |
[Internal Use Only] the onDelete function. Can be null. More... | |
draudio_on_sound_read_data_proc | onRead |
[Internal Use Only] The onRead streaming function. Can be null, in which case streaming will not be used. More... | |
draudio_on_sound_seek_data_proc | onSeek |
[Internal Use Only] The onSeek streaming function. Can be null, in which case streaming will not be used. More... | |
draudio_buffer * | pBuffer |
A pointer to the audio buffer for playback. More... | |
draudio_sound * | pNextSound |
[Internal Use Only] A pointer to the next sound in the local list. More... | |
draudio_sound * | pPrevSound |
[Internal Use Only] A pointer ot the previous sound in the local list. More... | |
draudio_playback_state | prevPlaybackState |
[Internal Use Only] The state of the buffer's playback at the time the associated world overwrote it. More... | |
draudio_world * | pWorld |
A pointer to the world that owns the sound. More... | |
Definition at line 616 of file porcupine/demo/c/dr_libs/old/dr_audio_ancient.h.
bool draudio_sound::isUsingStreamingBuffer |
[Internal Use Only] Keeps track of whether or not a streaming buffer is being used.
Definition at line 635 of file porcupine/demo/c/dr_libs/old/dr_audio_ancient.h.
bool draudio_sound::markedForDeletion |
[Internal Use Only] Keeps track of whether or not the sound has been marked for deletion. This is used to ensure onRead and onSeek are never called after the sound has been deleted. This scenario is possible because these functions are called in response to the sound buffer hitting markers which can be slightly delayed due to multi-threading synchronization.
Definition at line 641 of file porcupine/demo/c/dr_libs/old/dr_audio_ancient.h.
draudio_on_sound_delete_proc draudio_sound::onDelete |
[Internal Use Only] the onDelete function. Can be null.
Definition at line 644 of file porcupine/demo/c/dr_libs/old/dr_audio_ancient.h.
draudio_on_sound_read_data_proc draudio_sound::onRead |
[Internal Use Only] The onRead streaming function. Can be null, in which case streaming will not be used.
Definition at line 647 of file porcupine/demo/c/dr_libs/old/dr_audio_ancient.h.
draudio_on_sound_seek_data_proc draudio_sound::onSeek |
[Internal Use Only] The onSeek streaming function. Can be null, in which case streaming will not be used.
Definition at line 650 of file porcupine/demo/c/dr_libs/old/dr_audio_ancient.h.
draudio_buffer * draudio_sound::pBuffer |
A pointer to the audio buffer for playback.
Definition at line 622 of file porcupine/demo/c/dr_libs/old/dr_audio_ancient.h.
draudio_sound * draudio_sound::pNextSound |
[Internal Use Only] A pointer to the next sound in the local list.
Definition at line 629 of file porcupine/demo/c/dr_libs/old/dr_audio_ancient.h.
draudio_sound * draudio_sound::pPrevSound |
[Internal Use Only] A pointer ot the previous sound in the local list.
Definition at line 632 of file porcupine/demo/c/dr_libs/old/dr_audio_ancient.h.
draudio_playback_state draudio_sound::prevPlaybackState |
[Internal Use Only] The state of the buffer's playback at the time the associated world overwrote it.
Definition at line 626 of file porcupine/demo/c/dr_libs/old/dr_audio_ancient.h.
draudio_world * draudio_sound::pWorld |
A pointer to the world that owns the sound.
Definition at line 619 of file porcupine/demo/c/dr_libs/old/dr_audio_ancient.h.