Hi all. I've tried to get access to Windows audio from Go program but failed. That I did below: 1. Downloaded and built Portaudio (it's open audio I/O library http://portaudio.com/). So I've built that with Visual Studio and got .dll file. 2. Downloaded Go wrapper for Portaudio - ( github.com/gordonklaus/portaudio ) 3. Made simple Go file with an example from wrapper above to test. 4. Go build.
So Go couldn't build that. As far as I understand that's tried to build the portaudio from source with cgo. I've installed MinGW (gcc for Windows) and pkg-config but last one can't find portaudio-2.0.pc file. Once I've renamed portaudio-2.0.pc.in to portaudio-2.0.pc however it shows gcc error: "gcc: error: @THREAD_CFLAGS@: No such file or directory". So I think it was stupid idea. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.