|
|
|
@@ -22626,6 +22626,7 @@ public: |
|
|
|
extractor (0), |
|
|
|
dataHandle (0) |
|
|
|
{ |
|
|
|
JUCE_AUTORELEASEPOOL |
|
|
|
bufferList.calloc (256, 1); |
|
|
|
|
|
|
|
#if JUCE_WINDOWS |
|
|
|
@@ -22751,6 +22752,9 @@ public: |
|
|
|
|
|
|
|
~QTAudioReader() |
|
|
|
{ |
|
|
|
JUCE_AUTORELEASEPOOL |
|
|
|
checkThreadIsAttached(); |
|
|
|
|
|
|
|
if (dataHandle != 0) |
|
|
|
DisposeHandle (dataHandle); |
|
|
|
|
|
|
|
@@ -22760,7 +22764,6 @@ public: |
|
|
|
extractor = 0; |
|
|
|
} |
|
|
|
|
|
|
|
checkThreadIsAttached(); |
|
|
|
DisposeMovie (movie); |
|
|
|
|
|
|
|
#if JUCE_MAC |
|
|
|
@@ -22771,6 +22774,7 @@ public: |
|
|
|
bool readSamples (int** destSamples, int numDestChannels, int startOffsetInDestBuffer, |
|
|
|
int64 startSampleInFile, int numSamples) |
|
|
|
{ |
|
|
|
JUCE_AUTORELEASEPOOL |
|
|
|
checkThreadIsAttached(); |
|
|
|
bool ok = true; |
|
|
|
|
|
|
|
@@ -86401,17 +86405,21 @@ void DrawableComposite::render (const Drawable::RenderingContext& context) const |
|
|
|
// we need to render everything opaquely into a temp buffer, then blend that |
|
|
|
// with the target opacity... |
|
|
|
const Rectangle<int> clipBounds (context.g.getClipBounds()); |
|
|
|
Image tempImage (Image::ARGB, clipBounds.getWidth(), clipBounds.getHeight(), true); |
|
|
|
|
|
|
|
if (! clipBounds.isEmpty()) |
|
|
|
{ |
|
|
|
Graphics tempG (tempImage); |
|
|
|
tempG.setOrigin (-clipBounds.getX(), -clipBounds.getY()); |
|
|
|
Drawable::RenderingContext tempContext (tempG, context.transform, 1.0f); |
|
|
|
render (tempContext); |
|
|
|
} |
|
|
|
Image tempImage (Image::ARGB, clipBounds.getWidth(), clipBounds.getHeight(), true); |
|
|
|
|
|
|
|
context.g.setOpacity (context.opacity); |
|
|
|
context.g.drawImageAt (tempImage, clipBounds.getX(), clipBounds.getY()); |
|
|
|
{ |
|
|
|
Graphics tempG (tempImage); |
|
|
|
tempG.setOrigin (-clipBounds.getX(), -clipBounds.getY()); |
|
|
|
Drawable::RenderingContext tempContext (tempG, context.transform, 1.0f); |
|
|
|
render (tempContext); |
|
|
|
} |
|
|
|
|
|
|
|
context.g.setOpacity (context.opacity); |
|
|
|
context.g.drawImageAt (tempImage, clipBounds.getX(), clipBounds.getY()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|