mirror of
https://github.com/kyleneideck/BackgroundMusic
synced 2024-11-10 06:34:22 +00:00
33b6b17115
The BGMApp project now builds an XPC service bundle called BGMXPCHelper, which vends a Mach service that BGMApp and BGMDriver can use to communicate. This will hopefully be useful for some of the tasks HAL notifications aren't suited to. In this commit, BGMDriver uses the XPC helper when starting IO, to wait until BGMApp is ready for playthrough. BGMApp can only start playthrough when the output hardware is ready for IO. BGMDriver can now tell the HAL when we're ready for IO, which means we don't have to keep the output hardware running all the time (or drop frames or increase latency). The end result is that playthrough doesn't waste CPU time while idle any more. This also means that now playthrough won't prevent the system from sleeping when idle.
33 lines
973 B
Text
33 lines
973 B
Text
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>CFBundleDevelopmentRegion</key>
|
|
<string>en</string>
|
|
<key>CFBundleDisplayName</key>
|
|
<string>BGMXPCHelper</string>
|
|
<key>CFBundleExecutable</key>
|
|
<string>$(EXECUTABLE_NAME)</string>
|
|
<key>CFBundleIdentifier</key>
|
|
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
<key>CFBundleInfoDictionaryVersion</key>
|
|
<string>6.0</string>
|
|
<key>CFBundleName</key>
|
|
<string>$(PRODUCT_NAME)</string>
|
|
<key>CFBundlePackageType</key>
|
|
<string>XPC!</string>
|
|
<key>CFBundleShortVersionString</key>
|
|
<string>0.1.0</string>
|
|
<key>CFBundleSignature</key>
|
|
<string>????</string>
|
|
<key>CFBundleVersion</key>
|
|
<string>1</string>
|
|
<key>NSHumanReadableCopyright</key>
|
|
<string>Copyright © 2016 Kyle Neideck</string>
|
|
<key>XPCService</key>
|
|
<dict>
|
|
<key>ServiceType</key>
|
|
<string>User</string>
|
|
</dict>
|
|
</dict>
|
|
</plist>
|