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:
parent
883ff38bf5
commit
c15d414895
15 changed files with 505 additions and 48 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue