Commit graph

21 commits

Author SHA1 Message Date
Tanner Hoke
30a1735346 git rm extraneous Decibel files and use HTTPS links in README.md 2016-05-12 17:24:55 -05:00
Tanner Hoke
7cc0d19182 Put music files in the correct group. 2016-04-19 10:43:24 -05:00
Tanner Hoke
5981e05bb1 Add support for Decibel 2016-04-18 21:37:29 -05:00
Tanner Hoke
e87c43dc52 Disable the Auto-pause Music menu item if the selected music player isn't running 2016-04-18 20:15:28 -05:00
Kyle Neideck
f1c57fe4e9 Disable optimization profile in BGMApp. (Hopefully temporary.)
BGMApp is failing to build for some people with the Clang error message
"Could not read profile: Unsupported profiling format version". See #4.

I think this might be caused by building with an older version of Xcode,
but I'm far from sure about that. BGMApp uses <0.5% CPU, so it's not
worth using an optimization profile if it's causing anyone problems.
2016-04-18 04:36:24 +10:00
Tom
171ed1bec1 added parenthesis to print function call for python 3 compatability 2016-04-17 17:53:09 +01:00
Kyle Neideck
6b0ca53304 Forgot to add VOX music player to the README.
Also, capitalized "VOX".
2016-04-18 00:53:46 +10:00
Kyle Neideck
6d0fde1780 Add the Vox music player to BGMApp.
Resolves #2.
2016-04-18 00:36:55 +10:00
Kyle Neideck
267c5a38e7 Fix unused variable warnings when building with the release config.
These were stopping BGMApp release builds from compiling because we have
warnings-as-errors enabled.
2016-04-10 17:08:30 +10:00
Kyle Neideck
f8fe456f44 Fix BGMApp causing VLC to open. 2016-04-09 10:05:43 +10:00
Kyle Neideck
6ea4361135 Add Xcode schemes. 2016-04-08 05:12:11 +10:00
Kyle Neideck
f12e9c60df Fix deadlock when changing output device while audio is playing.
Also fixes a semaphore leak in BGMPlayThrough.
2016-04-08 02:33:30 +10:00
Kyle Neideck
f3151e3159 BGMXPCHelper now runs as an unprivileged user, instead of root.
BGMXPCHelper's install script now creates a user and group for
BGMXPCHelper to run as. This reduces the risk of BGMXPCHelper being used
for privilege escalation.
2016-04-07 00:48:36 +10:00
Kyle Neideck
690d6221d7 Add script that builds and installs BGMApp, BGMDriver and BGMXPCHelper 2016-04-05 16:56:38 +10:00
Kyle Neideck
1672bb8ed0 BGMXPCHelper can now be installed with xcodebuild.
The "install" action for BGMXPCHelper now checks the owner/permissions
of the installation directory. It also installs BGMXPCHelper's
launchd.plist and "bootstraps" it.
2016-04-04 04:55:17 +10:00
Kyle Neideck
33b6b17115 Add an XPC helper. Sync BGMApp and BGMDriver with it while starting IO.
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.
2016-03-31 11:42:24 +11:00
Kyle Neideck
d378ab5d44 Add VLC as a music player in BGMApp
Also moved the music player Scripting Bridge files.
2016-02-24 18:21:13 +11:00
Kyle Neideck
646c00ceb6 Sync BGMDevice volume with output device correctly on BGMApp startup
The listener proc in BGMDeviceControlSync was being triggered during the
initial CopyVolume call. This fix just waits until after the initial
sync to register the listener proc.
2016-02-23 18:57:47 +11:00
Kyle Neideck
5336a5a670 Add notes about testing with Address Sanitizer 2016-02-20 19:04:19 +11:00
Kyle Neideck
199f5f6a6b Prefer list initialization for in-class initialized member objects 2016-02-20 17:21:05 +11:00
Kyle Neideck
b17d736382 Initial commit 2016-02-19 16:25:34 +11:00