Simulant  21.06-50
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | List of all members
smlt::NullSoundDriver Class Reference
Inheritance diagram for smlt::NullSoundDriver:
smlt::SoundDriver

Public Member Functions

 NullSoundDriver (Window *window)
 
bool startup () override
 
void shutdown () override
 
std::vector< AudioSourceID > generate_sources (uint32_t count) override
 
std::vector< AudioBufferID > generate_buffers (uint32_t count) override
 
void destroy_buffers (const std::vector< AudioBufferID > &buffers) override
 
void destroy_sources (const std::vector< AudioSourceID > &sources) override
 
void play_source (AudioSourceID source_id) override
 
void stop_source (AudioSourceID source_id) override
 
void queue_buffers_to_source (AudioSourceID source, uint32_t count, const std::vector< AudioBufferID > &buffers) override
 
std::vector< AudioBufferID > unqueue_buffers_from_source (AudioSourceID source, uint32_t count) override
 
void upload_buffer_data (AudioBufferID buffer, AudioDataFormat format, const uint8_t *data, std::size_t bytes, uint32_t frequency) override
 
AudioSourceState source_state (AudioSourceID source) override
 
int32_t source_buffers_processed_count (AudioSourceID source) const override
 
void set_source_as_ambient (AudioSourceID) override
 
void set_listener_properties (const Vec3 &, const Quaternion &, const Vec3 &) override
 
void set_source_properties (AudioSourceID, const Vec3 &, const Vec3 &) override
 
void set_source_reference_distance (AudioSourceID id, float dist) override
 
void set_source_gain (AudioSourceID id, RangeValue< 0, 1 > value) override
 
void set_source_pitch (AudioSourceID id, RangeValue< 0, 1 > value) override
 
- Public Member Functions inherited from smlt::SoundDriver
 SoundDriver (Window *window)
 

Additional Inherited Members

- Public Attributes inherited from smlt::SoundDriver
Property< Window *SoundDriver::* > window = {this, &SoundDriver::window_}
 

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