xoreos  0.0.5
Public Member Functions | Public Attributes | List of all members
Sound::QueuingAudioStreamImpl::StreamHolder Struct Reference

We queue a number of (pointers to) audio stream objects. More...

Collaboration diagram for Sound::QueuingAudioStreamImpl::StreamHolder:
Collaboration graph
[legend]

Public Member Functions

 StreamHolder (AudioStream *stream, bool disposeAfterUse)
 

Public Attributes

AudioStream_stream
 
bool _disposeAfterUse
 

Detailed Description

We queue a number of (pointers to) audio stream objects.

In addition, we need to remember for each stream whether to dispose it after all data has been read from it. Hence, we don't store pointers to stream objects directly, but rather StreamHolder structs.

Definition at line 155 of file audiostream.cpp.

Constructor & Destructor Documentation

◆ StreamHolder()

Sound::QueuingAudioStreamImpl::StreamHolder::StreamHolder ( AudioStream stream,
bool  disposeAfterUse 
)
inline

Definition at line 158 of file audiostream.cpp.

Member Data Documentation

◆ _disposeAfterUse

bool Sound::QueuingAudioStreamImpl::StreamHolder::_disposeAfterUse

◆ _stream

AudioStream* Sound::QueuingAudioStreamImpl::StreamHolder::_stream

The documentation for this struct was generated from the following file: