1
0
mirror of https://github.com/RPCS3/soundtouch.git synced 2024-11-08 12:02:28 +01:00

Merge pull request 'fix: fix uint conversion for number of samples' (#25) from aminya/soundtouch:conversions into master

Reviewed-on: https://codeberg.org/soundtouch/soundtouch/pulls/25
This commit is contained in:
Olli Parviainen 2023-12-03 11:23:25 +00:00
commit c4c922c7b9

View File

@ -88,11 +88,11 @@ public:
void moveSamples(FIFOSamplePipe &other ///< Other pipe instance where from the receive the data.
)
{
int oNumSamples = other.numSamples();
const uint oNumSamples = other.numSamples();
putSamples(other.ptrBegin(), oNumSamples);
other.receiveSamples(oNumSamples);
};
}
/// Output samples from beginning of the sample buffer. Copies requested samples to
/// output buffer and removes them from the sample buffer. If there are less than