Urho3D::OggVorbisSoundStream Class Reference
Urho3D::OggVorbisSoundStream Class Reference
Ogg Vorbis sound stream. More...
#include <Urho3D/Audio/OggVorbisSoundStream.h>
Inheritance diagram for Urho3D::OggVorbisSoundStream:
Collaboration diagram for Urho3D::OggVorbisSoundStream:
Public Member Functions | |
| OggVorbisSoundStream (const Sound *sound) | |
| Construct from an Ogg Vorbis compressed sound. | |
| ~OggVorbisSoundStream () override | |
| Destruct. | |
| bool | Seek (unsigned sample_number) override |
| Seek to sample number. Return true on success. | |
| unsigned | GetData (signed char *dest, unsigned numBytes) override |
| Produce sound data into destination. Return number of bytes produced. Called by SoundSource from the mixing thread. | |
Public Member Functions inherited from Urho3D::SoundStream | |
| SoundStream () | |
| Construct. | |
| ~SoundStream () override | |
| Destruct. | |
| void | SetFormat (unsigned frequency, bool sixteenBit, bool stereo) |
| Set sound data format. | |
| void | SetStopAtEnd (bool enable) |
| Set whether playback should stop when no more data. Default false. | |
| unsigned | GetSampleSize () const |
| Return sample size. | |
| float | GetFrequency () const |
| Return default frequency as a float. | |
| unsigned | GetIntFrequency () const |
| Return default frequency as an integer. | |
| bool | GetStopAtEnd () const |
| Return whether playback should stop when no more data. | |
| bool | IsSixteenBit () const |
| Return whether data is sixteen bit. | |
| bool | IsStereo () const |
| Return whether data is stereo. | |
Public Member Functions inherited from Urho3D::RefCounted | |
| RefCounted () | |
| Construct. Allocate the reference count structure and set an initial self weak reference. | |
| virtual | ~RefCounted () |
| Destruct. Mark as expired and also delete the reference count structure if no outside weak references exist. | |
| RefCounted (const RefCounted &rhs)=delete | |
| Prevent copy construction. | |
| RefCounted & | operator= (const RefCounted &rhs)=delete |
| Prevent assignment. | |
| void | AddRef () |
| Increment reference count. Can also be called outside of a SharedPtr for traditional reference counting. | |
| void | ReleaseRef () |
| Decrement reference count and delete self if no more references. Can also be called outside of a SharedPtr for traditional reference counting. | |
| int | Refs () const |
| int | WeakRefs () const |
| RefCount * | RefCountPtr () |
| Return pointer to the reference count structure. | |
Protected Attributes | |
| void * | decoder_ |
| Decoder state. | |
| SharedArrayPtr< signed char > | data_ |
| Compressed sound data. | |
| unsigned | dataSize_ |
| Compressed sound data size in bytes. | |
Protected Attributes inherited from Urho3D::SoundStream | |
| unsigned | frequency_ |
| Default frequency. | |
| bool | stopAtEnd_ |
| Stop when no more data flag. | |
| bool | sixteenBit_ |
| Sixteen bit flag. | |
| bool | stereo_ |
| Stereo flag. | |
Detailed Description
Ogg Vorbis sound stream.
The documentation for this class was generated from the following files:
- Source/Urho3D/Audio/OggVorbisSoundStream.h
- Source/Urho3D/Audio/OggVorbisSoundStream.cpp

Public Member Functions inherited from