We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For now the workaround is to allow go to still send go pointers to cgo (I guess?), i.e. revert to GO 1.5
panic: runtime error: cgo argument has Go pointer to Go pointer
goroutine 1 [running]: github.com/gordonklaus/portaudio._cgoCheckPointer1(0x4311a80, 0xc8200fe100, 0x0, 0x0, 0x0, 0x42f25a0) ??:0 +0x4d github.com/gordonklaus/portaudio.OpenStream(0x0, 0x0, 0x0, 0xc82006c3c0, 0x1, 0xd78f88, 0x40e5888000000000, 0x100, 0x0, 0xc820055c18, ...) /Users/timothybone/work/src/github.com/gordonklaus/portaudio/portaudio.go:504 +0x3d1 github.com/gordonklaus/portaudio.OpenDefaultStream(0x0, 0x1, 0x40e5888000000000, 0x100, 0xc820055c18, 0x1, 0x1, 0x44451a0, 0x0, 0x0) /Users/timothybone/work/src/github.com/gordonklaus/portaudio/portaudio.go:538 +0x24a github.com/nf/sigourney/audio.(*Engine).Start(0xc82006c2a0, 0x0, 0x0) /Users/timothybone/work/src/github.com/nf/sigourney/audio/engine_cgo.go:24 +0x13d main.demo(0x0, 0x0) /Users/timothybone/work/src/github.com/nf/sigourney/demo.go:29 +0xd1 main.main() /Users/timothybone/work/src/github.com/nf/sigourney/main.go:51 +0x9e
The text was updated successfully, but these errors were encountered:
If the portaudio maintainers don't fix it, we might have to switch to a different package for talking to the audio card.
On Sun, Jan 10, 2016 at 10:21 AM, Timothy Bone [email protected] wrote:
For now the workaround is to allow go to still send go pointers to cgo (I guess?), ie revert to GO 15 panic: runtime error: cgo argument has Go pointer to Go pointer goroutine 1 [running]: githubcom/gordonklaus/portaudio_cgoCheckPointer1(0x4311a80, 0xc8200fe100, 0x0, 0x0, 0x0, 0x42f25a0) ??:0 +0x4d githubcom/gordonklaus/portaudioOpenStream(0x0, 0x0, 0x0, 0xc82006c3c0, 0x1, 0xd78f88, 0x40e5888000000000, 0x100, 0x0, 0xc820055c18, ) /Users/timothybone/work/src/githubcom/gordonklaus/portaudio/portaudiogo:504 +0x3d1 githubcom/gordonklaus/portaudioOpenDefaultStream(0x0, 0x1, 0x40e5888000000000, 0x100, 0xc820055c18, 0x1, 0x1, 0x44451a0, 0x0, 0x0) /Users/timothybone/work/src/githubcom/gordonklaus/portaudio/portaudiogo:538 +0x24a githubcom/nf/sigourney/audio(*Engine)Start(0xc82006c2a0, 0x0, 0x0) /Users/timothybone/work/src/githubcom/nf/sigourney/audio/engine_cgogo:24 +0x13d maindemo(0x0, 0x0) /Users/timothybone/work/src/githubcom/nf/sigourney/demogo:29 +0xd1 mainmain() /Users/timothybone/work/src/githubcom/nf/sigourney/maingo:51 +0x9e — Reply to this email directly or view it on GitHub #13.
For now the workaround is to allow go to still send go pointers to cgo (I guess?), ie revert to GO 15
goroutine 1 [running]: githubcom/gordonklaus/portaudio_cgoCheckPointer1(0x4311a80, 0xc8200fe100, 0x0, 0x0, 0x0, 0x42f25a0) ??:0 +0x4d githubcom/gordonklaus/portaudioOpenStream(0x0, 0x0, 0x0, 0xc82006c3c0, 0x1, 0xd78f88, 0x40e5888000000000, 0x100, 0x0, 0xc820055c18, ) /Users/timothybone/work/src/githubcom/gordonklaus/portaudio/portaudiogo:504 +0x3d1 githubcom/gordonklaus/portaudioOpenDefaultStream(0x0, 0x1, 0x40e5888000000000, 0x100, 0xc820055c18, 0x1, 0x1, 0x44451a0, 0x0, 0x0) /Users/timothybone/work/src/githubcom/gordonklaus/portaudio/portaudiogo:538 +0x24a githubcom/nf/sigourney/audio(*Engine)Start(0xc82006c2a0, 0x0, 0x0) /Users/timothybone/work/src/githubcom/nf/sigourney/audio/engine_cgogo:24 +0x13d maindemo(0x0, 0x0) /Users/timothybone/work/src/githubcom/nf/sigourney/demogo:29 +0xd1 mainmain() /Users/timothybone/work/src/githubcom/nf/sigourney/maingo:51 +0x9e
— Reply to this email directly or view it on GitHub #13.
Sorry, something went wrong.
There is a work in progress. I was able to get Sigourney working with my branch.
gordonklaus/portaudio#7
No branches or pull requests
For now the workaround is to allow go to still send go pointers to cgo (I guess?), i.e. revert to GO 1.5
panic: runtime error: cgo argument has Go pointer to Go pointer
goroutine 1 [running]:
github.com/gordonklaus/portaudio._cgoCheckPointer1(0x4311a80, 0xc8200fe100, 0x0, 0x0, 0x0, 0x42f25a0)
??:0 +0x4d
github.com/gordonklaus/portaudio.OpenStream(0x0, 0x0, 0x0, 0xc82006c3c0, 0x1, 0xd78f88, 0x40e5888000000000, 0x100, 0x0, 0xc820055c18, ...)
/Users/timothybone/work/src/github.com/gordonklaus/portaudio/portaudio.go:504 +0x3d1
github.com/gordonklaus/portaudio.OpenDefaultStream(0x0, 0x1, 0x40e5888000000000, 0x100, 0xc820055c18, 0x1, 0x1, 0x44451a0, 0x0, 0x0)
/Users/timothybone/work/src/github.com/gordonklaus/portaudio/portaudio.go:538 +0x24a
github.com/nf/sigourney/audio.(*Engine).Start(0xc82006c2a0, 0x0, 0x0)
/Users/timothybone/work/src/github.com/nf/sigourney/audio/engine_cgo.go:24 +0x13d
main.demo(0x0, 0x0)
/Users/timothybone/work/src/github.com/nf/sigourney/demo.go:29 +0xd1
main.main()
/Users/timothybone/work/src/github.com/nf/sigourney/main.go:51 +0x9e
The text was updated successfully, but these errors were encountered: