mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-03-30 17:16:48 +08:00
ggwave : resampling fixes
The old output resampling was bugged and produced cracking in the audio when the output sampling rate was different from the base sampling rate. Additionally, the decoding wasn't properly handling resampled input in all cases.
This commit is contained in:
@@ -437,6 +437,7 @@ private:
|
||||
TxProtocol m_txProtocol;
|
||||
|
||||
AmplitudeData m_outputBlock;
|
||||
AmplitudeData m_outputBlockResampled;
|
||||
TxRxData m_outputBlockTmp;
|
||||
AmplitudeDataI16 m_outputBlockI16;
|
||||
AmplitudeDataI16 m_txAmplitudeDataI16;
|
||||
|
||||
Reference in New Issue
Block a user