mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
AudioStretcher: split StretchAudio into ProcessSamples / GetStretchedSamples
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user