Etterna 0.74.4
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
DSoundBuf Class Reference

Public Types

enum  hw { HW_HARDWARE , HW_SOFTWARE , HW_DONT_CARE }
 
enum  { DYNAMIC_SAMPLERATE = -1 }
 

Public Member Functions

std::string Init (DSound &ds, hw hardware, int iChannels, int iSampleRate, int iSampleBits, int iWriteAhead)
 
bool get_output_buf (char **pBuffer, unsigned *iBuffersize, int iChunksize)
 
void release_output_buf (char *pBuffer, unsigned iBuffersize)
 
void Play ()
 
void Stop ()
 
void SetVolume (float fVolume)
 
void SetSampleRate (int iRate)
 
int GetSampleRate () const
 
int64_t GetPosition () const
 
int64_t GetOutputPosition () const
 

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