ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Audio::CopyRateConverter< stereo, reverseStereo > Class Template Reference

Simple audio rate converter for the case that the inrate equals the outrate. More...

Inheritance diagram for Audio::CopyRateConverter< stereo, reverseStereo >:
Collaboration diagram for Audio::CopyRateConverter< stereo, reverseStereo >:

List of all members.

Public Member Functions

 CopyRateConverter ()
 ~CopyRateConverter ()
virtual int flow (AudioStream &input, st_sample_t *obuf, st_size_t osamp, st_volume_t vol_l, st_volume_t vol_r)
virtual int drain (st_sample_t *obuf, st_size_t osamp, st_volume_t vol)
 CopyRateConverter ()
 ~CopyRateConverter ()
virtual int flow (AudioStream &input, st_sample_t *obuf, st_size_t osamp, st_volume_t vol_l, st_volume_t vol_r)
virtual int drain (st_sample_t *obuf, st_size_t osamp, st_volume_t vol)

Private Attributes

st_sample_t_buffer
st_size_t _bufferSize

Detailed Description

template<bool stereo, bool reverseStereo>
class Audio::CopyRateConverter< stereo, reverseStereo >

Simple audio rate converter for the case that the inrate equals the outrate.

Definition at line 284 of file rate.cpp.


Constructor & Destructor Documentation

template<bool stereo, bool reverseStereo>
Audio::CopyRateConverter< stereo, reverseStereo >::CopyRateConverter (  )  [inline]

Definition at line 288 of file rate.cpp.

template<bool stereo, bool reverseStereo>
Audio::CopyRateConverter< stereo, reverseStereo >::~CopyRateConverter (  )  [inline]

Definition at line 289 of file rate.cpp.

template<bool stereo, bool reverseStereo>
Audio::CopyRateConverter< stereo, reverseStereo >::CopyRateConverter (  )  [inline]

Definition at line 398 of file rate_arm.cpp.

template<bool stereo, bool reverseStereo>
Audio::CopyRateConverter< stereo, reverseStereo >::~CopyRateConverter (  )  [inline]

Definition at line 399 of file rate_arm.cpp.


Member Function Documentation

template<bool stereo, bool reverseStereo>
virtual int Audio::CopyRateConverter< stereo, reverseStereo >::drain ( st_sample_t obuf,
st_size_t  osamp,
st_volume_t  vol 
) [inline, virtual]

Implements Audio::RateConverter.

Definition at line 335 of file rate.cpp.

template<bool stereo, bool reverseStereo>
virtual int Audio::CopyRateConverter< stereo, reverseStereo >::drain ( st_sample_t obuf,
st_size_t  osamp,
st_volume_t  vol 
) [inline, virtual]

Implements Audio::RateConverter.

Definition at line 438 of file rate_arm.cpp.

template<bool stereo, bool reverseStereo>
virtual int Audio::CopyRateConverter< stereo, reverseStereo >::flow ( AudioStream input,
st_sample_t obuf,
st_size_t  osamp,
st_volume_t  vol_l,
st_volume_t  vol_r 
) [inline, virtual]
Returns:
Number of sample pairs written into the buffer.

Implements Audio::RateConverter.

Definition at line 403 of file rate_arm.cpp.

template<bool stereo, bool reverseStereo>
virtual int Audio::CopyRateConverter< stereo, reverseStereo >::flow ( AudioStream input,
st_sample_t obuf,
st_size_t  osamp,
st_volume_t  vol_l,
st_volume_t  vol_r 
) [inline, virtual]
Returns:
Number of sample pairs written into the buffer.

Implements Audio::RateConverter.

Definition at line 293 of file rate.cpp.


Member Data Documentation

template<bool stereo, bool reverseStereo>
st_sample_t * Audio::CopyRateConverter< stereo, reverseStereo >::_buffer [private]

Definition at line 285 of file rate.cpp.

template<bool stereo, bool reverseStereo>
st_size_t Audio::CopyRateConverter< stereo, reverseStereo >::_bufferSize [private]

Definition at line 286 of file rate.cpp.


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


Generated on Sat Nov 16 2019 05:02:40 for ResidualVM by doxygen 1.7.1
curved edge   curved edge