some small changes
This commit is contained in:
parent
fbcb7f717a
commit
66fb8fa61d
2 changed files with 11 additions and 9 deletions
10
ChangeLog
10
ChangeLog
|
@ -10,14 +10,14 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
3.3.10
|
3.3.10 (2015-10-20)
|
||||||
|
|
||||||
- changed the default central server URL
|
- changed the default central server URL
|
||||||
|
|
||||||
- added support for server disconnection
|
- added support for server disconnection
|
||||||
|
|
||||||
|
|
||||||
3.3.9
|
3.3.9 (2015-07-12)
|
||||||
|
|
||||||
- another improvement of auto jitter buffer detection in very bad
|
- another improvement of auto jitter buffer detection in very bad
|
||||||
network conditions
|
network conditions
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
- bug fix: fixed a crash in the MacOS audio interface
|
- bug fix: fixed a crash in the MacOS audio interface
|
||||||
|
|
||||||
|
|
||||||
3.3.8
|
3.3.8 (2015-03-15)
|
||||||
|
|
||||||
- improved audio quality in bad network conditions
|
- improved audio quality in bad network conditions
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
- show info about sound card buffer size if not one of the standard sizes
|
- show info about sound card buffer size if not one of the standard sizes
|
||||||
|
|
||||||
|
|
||||||
3.3.7
|
3.3.7 (2015-02-05)
|
||||||
|
|
||||||
- added a musician profile dialog (some settings in the main window
|
- added a musician profile dialog (some settings in the main window
|
||||||
were removed)
|
were removed)
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
- added new instrument picture for "Guitar+Vocal"
|
- added new instrument picture for "Guitar+Vocal"
|
||||||
|
|
||||||
|
|
||||||
3.3.6
|
3.3.6 (2015-01-25)
|
||||||
|
|
||||||
- support for a country flag icon on the fader tag
|
- support for a country flag icon on the fader tag
|
||||||
|
|
||||||
|
|
|
@ -530,12 +530,12 @@ void CSound::SetRightOutputChannel ( const int iNewChan )
|
||||||
|
|
||||||
void CSound::Start()
|
void CSound::Start()
|
||||||
{
|
{
|
||||||
// setup callback for xruns (only for input is enough)
|
|
||||||
AudioObjectPropertyAddress stPropertyAddress;
|
AudioObjectPropertyAddress stPropertyAddress;
|
||||||
|
|
||||||
stPropertyAddress.mElement = kAudioObjectPropertyElementMaster;
|
stPropertyAddress.mElement = kAudioObjectPropertyElementMaster;
|
||||||
stPropertyAddress.mScope = kAudioObjectPropertyScopeGlobal;
|
stPropertyAddress.mScope = kAudioObjectPropertyScopeGlobal;
|
||||||
|
|
||||||
|
// setup callback for xruns (only for input is enough)
|
||||||
stPropertyAddress.mSelector = kAudioDeviceProcessorOverload;
|
stPropertyAddress.mSelector = kAudioDeviceProcessorOverload;
|
||||||
|
|
||||||
AudioObjectAddPropertyListener ( audioInputDevice[lCurDev],
|
AudioObjectAddPropertyListener ( audioInputDevice[lCurDev],
|
||||||
|
@ -543,6 +543,7 @@ void CSound::Start()
|
||||||
deviceNotification,
|
deviceNotification,
|
||||||
this );
|
this );
|
||||||
|
|
||||||
|
// setup callbacks for device property changes
|
||||||
stPropertyAddress.mSelector = kAudioDevicePropertyDeviceHasChanged;
|
stPropertyAddress.mSelector = kAudioDevicePropertyDeviceHasChanged;
|
||||||
|
|
||||||
AudioObjectAddPropertyListener ( audioInputDevice[lCurDev],
|
AudioObjectAddPropertyListener ( audioInputDevice[lCurDev],
|
||||||
|
@ -584,12 +585,12 @@ void CSound::Stop()
|
||||||
AudioDeviceDestroyIOProcID ( audioInputDevice[lCurDev], audioInputProcID );
|
AudioDeviceDestroyIOProcID ( audioInputDevice[lCurDev], audioInputProcID );
|
||||||
AudioDeviceDestroyIOProcID ( audioOutputDevice[lCurDev], audioOutputProcID );
|
AudioDeviceDestroyIOProcID ( audioOutputDevice[lCurDev], audioOutputProcID );
|
||||||
|
|
||||||
// unregister the callback function for xruns
|
|
||||||
AudioObjectPropertyAddress stPropertyAddress;
|
AudioObjectPropertyAddress stPropertyAddress;
|
||||||
|
|
||||||
stPropertyAddress.mElement = kAudioObjectPropertyElementMaster;
|
stPropertyAddress.mElement = kAudioObjectPropertyElementMaster;
|
||||||
stPropertyAddress.mScope = kAudioObjectPropertyScopeGlobal;
|
stPropertyAddress.mScope = kAudioObjectPropertyScopeGlobal;
|
||||||
|
|
||||||
|
// unregister callback functions for device property changes
|
||||||
stPropertyAddress.mSelector = kAudioDevicePropertyDeviceHasChanged;
|
stPropertyAddress.mSelector = kAudioDevicePropertyDeviceHasChanged;
|
||||||
|
|
||||||
AudioObjectRemovePropertyListener( audioOutputDevice[lCurDev],
|
AudioObjectRemovePropertyListener( audioOutputDevice[lCurDev],
|
||||||
|
@ -602,6 +603,7 @@ void CSound::Stop()
|
||||||
deviceNotification,
|
deviceNotification,
|
||||||
this );
|
this );
|
||||||
|
|
||||||
|
// unregister the callback function for xruns
|
||||||
stPropertyAddress.mSelector = kAudioDeviceProcessorOverload;
|
stPropertyAddress.mSelector = kAudioDeviceProcessorOverload;
|
||||||
|
|
||||||
AudioObjectRemovePropertyListener( audioInputDevice[lCurDev],
|
AudioObjectRemovePropertyListener( audioInputDevice[lCurDev],
|
||||||
|
@ -712,7 +714,7 @@ OSStatus CSound::deviceNotification ( AudioDeviceID,
|
||||||
|
|
||||||
if ( inAddresses->mSelector == kAudioDevicePropertyDeviceHasChanged )
|
if ( inAddresses->mSelector == kAudioDevicePropertyDeviceHasChanged )
|
||||||
{
|
{
|
||||||
// if any property of the device has changed, to a full reload
|
// if any property of the device has changed, do a full reload
|
||||||
pSound->EmitReinitRequestSignal ( RS_RELOAD_RESTART_AND_INIT );
|
pSound->EmitReinitRequestSignal ( RS_RELOAD_RESTART_AND_INIT );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue