1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 14:18:53 +02:00

A little more type agnosticism

This commit is contained in:
Paul Licameli 2016-08-26 12:11:46 -04:00
parent 86b633bab2
commit 954a914ff7

View File

@ -3528,7 +3528,8 @@ void AudioIO::FillBuffers()
// The mixer here isn't actually mixing: it's just doing
// resampling, format conversion, and possibly time track
// warping
int processed = 0;
decltype(mPlaybackMixers[i]->Process(frames))
processed = 0;
samplePtr warpedSamples;
//don't do anything if we have no length. In particular, Process() will fail an wxAssert
//that causes a crash since this is not the GUI thread and wxASSERT is a GUI call.