aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-10-27Build the exampleTeddy Wing
* Add a Makefile to build the example code. * Update the example to use the new function names. * Add the library to `example/` with symlinks to simulate a submodule.
2022-10-27Add a note to add documentationTeddy Wing
2022-10-27SSVLGetSystemVolume: Don't return 0.5 on non-zero OSStatusTeddy Wing
That's what the Sound preference pane does, but I think it makes more sense to have library consumers make that decision.
2022-10-25Update `kAudioServicesPropertySystemAlertVolume` usageTeddy Wing
2022-10-25Include CoreFoundationTeddy Wing
`Float32` and `OSStatus` are defined in CoreFoundation so we should include it.
2022-10-25Move the `main()` function to a new example fileTeddy Wing
2022-10-25Add a header fileTeddy Wing
2022-10-25Rename "system_alert_volume.c" to "SSVLSystemAlertVolume.c"Teddy Wing
Align with the new identifier naming.
2022-10-25Rename identifiers to align with Apple's guidelines for function namingTeddy Wing
Following these guidelines for naming functions: https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CodingGuidelines/Articles/NamingFunctions.html#//apple_ref/doc/uid/20001283-BAJGGCAD and constants: https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CodingGuidelines/Articles/NamingIvarsAndTypes.html#//apple_ref/doc/uid/20001284-1001783 Chose the prefix "SSVL" as that's the `AudioServicesPropertyID` value.
2022-10-25Get and set system alert volumeTeddy Wing
Extract my research code from Mass-menu.
2022-10-25Add TODOTeddy Wing