OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
openal_channel_two_d_stream Struct Reference
Inheritance diagram for openal_channel_two_d_stream:
openal_channel

Public Member Functions

void stop () override
 
bool set_sfx (sfx_t *pSfx) override
 
void set_sample_loop_count (S32 count) override
 
void update () override
 
U32 sample_offset () override
 
void set_sample_offset (U32 offset) override
 
bool queue_stream (const char *fileName)
 
- Public Member Functions inherited from openal_channel
void play ()
 
void pause ()
 
void set_no_3d ()
 
void set_3d ()
 
void set_no_virtualization ()
 
void set_virtualization ()
 
void set_gain (float gain)
 
void set_velocity (float v0, float v1, float v2)
 
void set_position (float v0, float v1, float v2)
 
bool is_free ()
 
bool is_paused ()
 
bool is_playing ()
 
void force_free ()
 
void start_sample ()
 
void stop_sample ()
 
void resume_sample ()
 
void end_sample ()
 
void set_sample_pan (S32 pan)
 
void set_sample_playback_rate (S32 pan)
 
S32 sample_playback_rate ()
 
S32 sample_volume ()
 
U32 sample_ms_offset ()
 
U32 sample_loop_count ()
 
void set_sample_ms_offset (U32 offset)
 
void set_sample_loop_block (S32 start_offset, S32 end_offset)
 
U32 sample_status ()
 

Protected Member Functions

U32 buffer_frequency () const override
 

Additional Inherited Members

- Public Attributes inherited from openal_channel
sfx_tpSfx
 
int iEntNum
 
int iEntChannel
 
vec3_t vOrigin
 
float fVolume
 
int iBaseRate
 
float fNewPitchMult
 
float fMinDist
 
float fMaxDist
 
int iStartTime
 
int iTime
 
int iEndTime
 
int iFlags
 
int iPausedOffset
 
int song_number
 
fade_t fading
 
int fade_time
 
int fade_start_time
 
ALuint source
 
ALuint buffer
 
ALubyte * bufferdata
 

Member Function Documentation

◆ buffer_frequency()

U32 openal_channel_two_d_stream::buffer_frequency ( ) const
overrideprotectedvirtual

Reimplemented from openal_channel.

◆ sample_offset()

U32 openal_channel_two_d_stream::sample_offset ( )
overridevirtual

Reimplemented from openal_channel.

◆ set_sample_loop_count()

void openal_channel_two_d_stream::set_sample_loop_count ( S32 count)
overridevirtual

Reimplemented from openal_channel.

◆ set_sample_offset()

void openal_channel_two_d_stream::set_sample_offset ( U32 offset)
overridevirtual

Reimplemented from openal_channel.

◆ set_sfx()

bool openal_channel_two_d_stream::set_sfx ( sfx_t * pSfx)
overridevirtual

Reimplemented from openal_channel.

◆ stop()

void openal_channel_two_d_stream::stop ( )
overridevirtual

Reimplemented from openal_channel.

◆ update()

void openal_channel_two_d_stream::update ( )
overridevirtual

Reimplemented from openal_channel.


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