mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed a threading problem in BufferingAudioSource.
This commit is contained in:
parent
74df644356
commit
54eb263055
6 changed files with 40 additions and 25 deletions
|
|
@ -63,7 +63,7 @@ void AudioTransportSource::setSource (PositionableAudioSource* const newSource,
|
|||
if (source == nullptr)
|
||||
return;
|
||||
|
||||
setSource (0, 0, 0); // deselect and reselect to avoid releasing resources wrongly
|
||||
setSource (nullptr, 0, nullptr); // deselect and reselect to avoid releasing resources wrongly
|
||||
}
|
||||
|
||||
readAheadBufferSize = readAheadBufferSize_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue