…leep this will give the powermanagement control back to the OS. This will be a usefull target for our shutdown timer. On OSX this works as follows: 1. As long as XBMC runs in fullscreen wie prevent any systemsleep by holding an powermanagement assertion from the OS 2. When the shutdowntarget is set to "AllowSuspend" a. after shutdown timer runs out we call the new PowerSysCall "AllowSuspend" (on osx this releases the assertion from the OS) b. if a idle sleep is configured in the os and xbmc is kept idle for this time - the os will sleep once no other application olds an assertion c. if the os idle timer is not run out yet and xbmc gets reused (indicated by calling CApplication::ResetScreenSaver() we will deactivate the system screensasver again (calling g_Windowing.EnableSystemScreenSaver(false);). On OSX this leads to grabbing the assertion again and preventing system sleep until the next shutdowntime comes
…aPowerSyscall and only acquire one assertion at a time. Also don't hammer on the assertion in ResetOSScreensaver - instead get rid of ResetOSScreensaver in WinSystemOSX (we don't need it on osx). Wenn switching from/to fullscreen create/release the assertion (create assertion when fullscreen - release when windowed) This doesn't change behaviour - but is the preparation for adding the AllowSuspend Shutdown action.
[AE/CA] - implement the advancedsetting for streamsilence
Add support for the power and sleep buttons
… which will be introduced via PR #2077
[OSX] Remove all direct calls to CFStringGetCString and CFStringGetCStringPtr
…tringPtr This adds a new util function DarwinCFStringToString that handles errors and tries to first get the pointer otherwise copies the string into a std::string. It also makes sure to use CFStringGetSystemEncoding() everywhere so we don't get in trouble for using a hardcoded encoding.
[rbp] Fix for audio out of sync part 2
[rbp] Apply volume control at audio_mixer when possible
[OSX] Remove unused function Cocoa_GetAppVersion()
When cleaning out the CFStringGetCString references I noticed that this function isn't used anywhere. So instead of changing it, I rather just remove it.
…ttons on nyxboard and hw volume buttons on macs/osx)
Mute without AE
[fix] Uninstall and rollback services correctly
[osx] check if hogPid was set before resetting it
[CoreAudioAE] Fix CFString copy function in CCoreAudioHardware::GetOutputDeviceName
…tputDeviceName Using UTF8 encoding might fail and return NULL. Instead we pass CFStringGetSystemEncoding().
[automake] remove long time deprecated automake macros and variables whi...