Skip to content

Commit

Permalink
Merge pull request #54 from sugarme/issue_25
Browse files Browse the repository at this point in the history
resolved #25 iOS supported
  • Loading branch information
gen2brain authored Apr 24, 2024
2 parents dd505cb + 95d5f68 commit 68c4e23
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 68c4e23

Please sign in to comment.