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.
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.