Re: [go-nuts] Re: Go+Windows+Audio

2023-02-05 Thread Tobias Wellnitz
Alberto, I'm using Docker for cross-compiling my cgo apps. One project of mine ( remoteAudio ) requires portaudio (and a couple of other C libraries like pkgconfig and libopus). You can find the cross-compilation chain at github.com/dh1tw/remoteAudio-xcompile

Re: [go-nuts] High Delay between Go-Routines using channels (Audio Streaming App)

2017-01-21 Thread Tobias Wellnitz
Hi, I did some more tracing and I could narrow down the problem to the call when writing data synchronously to the sound card. When the sound card does not receive the data in time, it will cause an "Underflow". I read that the underlying, platform specific sound card drivers handle Underflows di

[go-nuts] High Delay between Go-Routines using channels (Audio Streaming App)

2017-01-19 Thread Tobias Wellnitz
Hi, I'm seeking for advice on a non-deterministic delay when communicating via channels. I'm writing an application which streams Audio bi-directionally in order to operate my Amateur Radio station remotely from home. Think of this application as a sort of "Walky-Talky" application. https://gith

[go-nuts] Append function overwrites existing data in slice

2016-10-31 Thread Tobias Wellnitz
Hi, I wrote a small application which records data from a sound card and stores the data in an array for later processing. Whenever new data is available, portaudio executes the a callback. Within the callback I append the data to an array. The golang builtin function append adds as expected