nativeaudio

audio playback for Go
Log | Files | Refs | README | LICENSE

commit e9d2b0fd1b9796d1ecd771fa3384428c49d4d933
parent b99d4924dc35ce789e97cfb932a4f146377061ce
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date:   Fri,  3 May 2024 17:09:22 +0800

nativeaudio: update readme

We have macOS support, yay!

Diffstat:
MREADME.md | 18+++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/README.md b/README.md @@ -10,13 +10,14 @@ This package was inspired by the utter lack of audio decoders for AAC, which it turns out is a closed codec that Windows and macOS have bought licenses for. -For the moment Windows is implemented via the Media Foundation, and -other platforms shell out to FFmpeg as a fallback. Unfortunately we can't link -to FFmpeg without accepting the GPL, so we must take the performance hit of -using a sub-process. +Windows is implemented via the Media Foundation and macOS is implemented +on AudioToolbox/AVFoundation. + +Other platforms including Linux shell out to FFmpeg. + +Unfortunately we can't link to FFmpeg without accepting the GPL, so we must +take the performance hit of using a sub-process. -macOS bindings are expected to land relatively soon, however the other -platforms are left as an exercise to the community. `go get git.sr.ht/~jackmordaunt/nativeaudio` @@ -32,5 +33,5 @@ func main() { ## TODO -- [ ] macOS native bindings -- [ ] streaming API (current API is a buffered for simplicity) -\ No newline at end of file +- [ ] streaming API (current API is a buffered for simplicity) +- [ ] Linux: something better then shelling out to FFmpeg