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:
parent
86b633bab2
commit
954a914ff7
@ -3528,7 +3528,8 @@ void AudioIO::FillBuffers()
|
|||||||
// The mixer here isn't actually mixing: it's just doing
|
// The mixer here isn't actually mixing: it's just doing
|
||||||
// resampling, format conversion, and possibly time track
|
// resampling, format conversion, and possibly time track
|
||||||
// warping
|
// warping
|
||||||
int processed = 0;
|
decltype(mPlaybackMixers[i]->Process(frames))
|
||||||
|
processed = 0;
|
||||||
samplePtr warpedSamples;
|
samplePtr warpedSamples;
|
||||||
//don't do anything if we have no length. In particular, Process() will fail an wxAssert
|
//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.
|
//that causes a crash since this is not the GUI thread and wxASSERT is a GUI call.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user