1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-20 01:14:20 +00:00

Fix for linux build, lookandfeel typo, VS2005 sockets. Added a class ZipFile::Builder for creating zip files.

This commit is contained in:
Julian Storer 2011-03-12 22:29:46 +00:00
parent 883ff38bf5
commit c15d414895
15 changed files with 505 additions and 48 deletions

View file

@ -301,11 +301,15 @@ private:
{
sessionEventCallback = new SessionEventCallback (*this);
audioSessionControl->RegisterAudioSessionNotification (sessionEventCallback);
sessionEventCallback->Release(); // (required because ComBaseClassHelper objects are constructed with a ref count of 1)
}
}
void deleteSessionEventCallback()
{
if (audioSessionControl != 0 && sessionEventCallback != 0)
audioSessionControl->UnregisterAudioSessionNotification (sessionEventCallback);
audioSessionControl = 0;
sessionEventCallback = 0;
}