Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RageSoundDriver_PulseAudio Class Reference
Inheritance diagram for RageSoundDriver_PulseAudio:
Inheritance graph
[legend]
Collaboration diagram for RageSoundDriver_PulseAudio:
Collaboration graph
[legend]

Public Member Functions

std::string Init ()
 
int64_t GetPosition () const
 
int GetSampleRate () const
 
void CtxStateCb (pa_context *c)
 
void StreamStateCb (pa_stream *s)
 
void StreamWriteCb (pa_stream *s, size_t length)
 
- Public Member Functions inherited from RageSoundDriver
void StartMixing (RageSoundBase *pSound)
 
void StopMixing (RageSoundBase *pSound)
 
bool PauseMixing (RageSoundBase *pSound, bool bStop)
 
int64_t GetHardwareFrame (RageTimer *pTimer) const
 
virtual void Update ()
 
virtual float GetPlayLatency () const
 

Static Public Member Functions

static void StaticCtxStateCb (pa_context *c, void *user)
 
static void StaticStreamStateCb (pa_stream *s, void *user)
 
static void StaticStreamWriteCb (pa_stream *s, size_t length, void *user)
 
- Static Public Member Functions inherited from RageSoundDriver
static RageSoundDriverCreate (const std::string &sDrivers)
 
static std::string GetDefaultSoundDriverList ()
 

Protected Member Functions

void m_InitStream ()
 
- Protected Member Functions inherited from RageSoundDriver
void StartDecodeThread ()
 
void SetDecodeBufferSize (int frames)
 
virtual void SetupDecodingThread ()
 
void Mix (int16_t *pBuf, int iFrames, int64_t iFrameNumber, int64_t iCurrentFrame)
 
void Mix (float *pBuf, int iFrames, int64_t iFrameNumber, int64_t iCurrentFrame)
 
void MixDeinterlaced (float **pBufs, int channels, int iFrames, int64_t iFrameNumber, int64_t iCurrentFrame)
 

Protected Attributes

int64_t m_LastPosition
 
int m_SampleRate
 
char * m_Error
 
RageSemaphore m_Sem
 
pa_threaded_mainloop * m_PulseMainLoop
 
pa_context * m_PulseCtx
 
pa_stream * m_PulseStream
 

Additional Inherited Members

- Static Public Attributes inherited from RageSoundDriver
static DriverList m_pDriverList
 

Member Function Documentation

◆ GetPosition()

int64_t RageSoundDriver_PulseAudio::GetPosition ( ) const
inlinevirtual

Implements RageSoundDriver.

◆ GetSampleRate()

int RageSoundDriver_PulseAudio::GetSampleRate ( ) const
inlinevirtual

Reimplemented from RageSoundDriver.

◆ Init()

std::string RageSoundDriver_PulseAudio::Init ( )
virtual

Reimplemented from RageSoundDriver.


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