Skip to content

Commit

Permalink
resolved #25 iOS supported
Browse files Browse the repository at this point in the history
  • Loading branch information
sugarme committed Apr 24, 2024
1 parent dd505cb commit 95d5f68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ Documentation on [GoDoc](https://godoc.org/github.com/gen2brain/malgo). Also che
* Windows (WASAPI, DirectSound, WinMM)
* Linux (PulseAudio, ALSA, JACK)
* FreeBSD/NetBSD/OpenBSD (OSS/audio(4)/sndio)
* macOS (CoreAudio)
* macOS/iOS (CoreAudio)
* Android (OpenSL|ES, AAudio)
2 changes: 2 additions & 0 deletions miniaudio.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ package malgo
#cgo netbsd LDFLAGS: -ldl -lpthread -lm
#cgo freebsd LDFLAGS: -ldl -lpthread -lm
#cgo android LDFLAGS: -lm
#cgo ios CFLAGS: -x objective-c
#cgo ios LDFLAGS: -framework CoreFoundation -framework AVFAudio -framework CoreAudio -framework AudioToolbox
#cgo !noasm,!arm,!arm64 CFLAGS: -msse2
#cgo !noasm,arm,arm64 CFLAGS: -mfpu=neon -mfloat-abi=hard
Expand Down

0 comments on commit 95d5f68

Please sign in to comment.