mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-15 00:24:19 +00:00
Small audio thumbnail fix.
This commit is contained in:
parent
0358e95dc9
commit
f430fa86f6
1 changed files with 4 additions and 2 deletions
|
|
@ -128,8 +128,10 @@ void AudioThumbnailCache::storeThumb (const AudioThumbnailBase& thumb,
|
|||
thumbs.set (findOldestThumb(), te);
|
||||
}
|
||||
|
||||
MemoryOutputStream out (te->data, false);
|
||||
thumb.saveTo (out);
|
||||
{
|
||||
MemoryOutputStream out (te->data, false);
|
||||
thumb.saveTo (out);
|
||||
}
|
||||
|
||||
saveNewlyFinishedThumbnail (thumb, hashCode);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue