#include <sound.h>
Inherits sourceowner.

Public Member Functions | |
| oggstream () | |
| ~oggstream () | |
| void | reset () |
| bool | open (const char *f) |
| void | onsourcereassign (source *s) |
| bool | stream (ALuint bufid) |
| bool | update () |
| bool | playing () |
| void | updategain () |
| void | setgain (float g) |
| void | setvolume (float v) |
| void | fadein (int startmillis, int fademillis) |
| void | fadeout (int endmillis, int fademillis) |
| bool | playback (bool looping=false) |
| void | seek (double offset) |
Public Attributes | |
| string | name |
| bool | valid |
| OggVorbis_File | oggfile |
| bool | isopen |
| vorbis_info * | info |
| double | totalseconds |
| ALuint | bufferids [2] |
| source * | src |
| ALenum | format |
| float | volume |
| float | gain |
| int | startmillis |
| int | endmillis |
| int | startfademillis |
| int | endfademillis |
| bool | looping |
Static Public Attributes | |
| static const int | BUFSIZE = 1024 * 512 |
| oggstream::oggstream | ( | ) |
| oggstream::~oggstream | ( | ) |
| void oggstream::fadein | ( | int | startmillis, | |
| int | fademillis | |||
| ) |
| void oggstream::fadeout | ( | int | endmillis, | |
| int | fademillis | |||
| ) |
| void oggstream::onsourcereassign | ( | source * | s | ) | [virtual] |
Implements sourceowner.
| bool oggstream::open | ( | const char * | f | ) |
| bool oggstream::playback | ( | bool | looping = false |
) |
| bool oggstream::playing | ( | ) |
| void oggstream::reset | ( | ) |
| void oggstream::seek | ( | double | offset | ) |
| void oggstream::setgain | ( | float | g | ) |
| void oggstream::setvolume | ( | float | v | ) |
| bool oggstream::stream | ( | ALuint | bufid | ) |
| bool oggstream::update | ( | ) |
| void oggstream::updategain | ( | ) |
| ALuint oggstream::bufferids[2] |
const int oggstream::BUFSIZE = 1024 * 512 [static] |
| ALenum oggstream::format |
| float oggstream::gain |
| vorbis_info* oggstream::info |
| bool oggstream::isopen |
| bool oggstream::looping |
| OggVorbis_File oggstream::oggfile |
| double oggstream::totalseconds |
| bool oggstream::valid |
| float oggstream::volume |
1.5.7.1