mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-09 02:55:56 +00:00
AudioStretcher: split StretchAudio into ProcessSamples / GetStretchedSamples
This commit is contained in:
parent
87a467fe42
commit
14c3d4716f
4 changed files with 20 additions and 12 deletions
|
@ -13,8 +13,9 @@ namespace AudioCommon
|
|||
class AudioStretcher
|
||||
{
|
||||
public:
|
||||
AudioStretcher(unsigned int sample_rate);
|
||||
void StretchAudio(const short* in, unsigned int num_in, short* out, unsigned int num_out);
|
||||
explicit AudioStretcher(unsigned int sample_rate);
|
||||
void ProcessSamples(const short* in, unsigned int num_in, unsigned int num_out);
|
||||
void GetStretchedSamples(short* out, unsigned int num_out);
|
||||
void Clear();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue