mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
MemoryMappedAudioFormatReader fix. Removed a couple of warnings.
This commit is contained in:
parent
3115c91689
commit
242a461644
3 changed files with 3 additions and 8 deletions
|
|
@ -409,7 +409,7 @@ bool MemoryMappedAudioFormatReader::mapSectionOfFile (const Range<int64>& sample
|
|||
if (map->getData() == nullptr)
|
||||
map = nullptr;
|
||||
else
|
||||
mappedSection = Range<int64> (jmax ((int64) 0, filePosToSample (map->getRange().getStart())),
|
||||
mappedSection = Range<int64> (jmax ((int64) 0, filePosToSample (map->getRange().getStart() + (bytesPerFrame - 1))),
|
||||
jmin (lengthInSamples, filePosToSample (map->getRange().getEnd())));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -96,9 +96,6 @@ public:
|
|||
id delegate;
|
||||
|
||||
private:
|
||||
CFRunLoopRef runLoop;
|
||||
CFRunLoopSourceRef runLoopSource;
|
||||
|
||||
//==============================================================================
|
||||
struct AppDelegateClass : public ObjCClass <NSObject>
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue