aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-10-28README: Fix image displayHEADv0.1.0masterTeddy Wing
The image didn't render because it has spaces in its filename. Replace them with URL-encoded spaces.
2022-10-27README: Add project description and usage informationTeddy Wing
2022-10-27Ideas for READMETeddy Wing
2022-10-27Add documentation for SSVLAudioServicesPropertySystemAlertVolumeTeddy Wing
2022-10-27SSVLSystemAlertVolume.h: Add C++ extern CTeddy Wing
Facilitate importing from C++.
2022-10-27Add a version number (v0.1.0)Teddy Wing
2022-10-27Add copyright noticesTeddy Wing
2022-10-27Remove TODOTeddy Wing
This is handled now.
2022-10-27Add license (MPL 2.0)Teddy Wing
MPL 2.0 for the library, and GPLv3+ for the example code.
2022-10-27SSVLSystemAlertVolume.h: Add function documentationTeddy Wing
2022-10-27example/main.c: Add a help argument and outputTeddy Wing
2022-10-27example/main.c: Get and set volume separately from cmdline argsTeddy Wing
If no arguments are given, print the current system alert volume. If an argument is given, set the alert volume to the given argument.
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