nariakiiwatani / ofxNDI

NewTek NDI SDK Wrapper for openFrameworks.
https://ndi.tv/
MIT License
103 stars 19 forks source link

audio send receive examples corrupt audio #26

Closed steeley closed 3 years ago

steeley commented 3 years ago

testing on OFX 0.10.1, osx 10.13.6, xcode 9.2, NDI 4.6.2 The left hand channel gets corrupted when sending audio. the right hand channel is ok. some of the right hand audio gets added to the left channel.

I added a waveform render of the audio buffers to show what happens - see picture below, i am putting a sinewave into the right hand channel only of my audio USB audio interface , but the application is sending both channels (48khz, 2 channels setup) if I just send the left channel, the receiver shows a line(0) and a little bit of a waveform.

audio corrupt

nariakiiwatani commented 3 years ago

thanks for reporting! I will check it.

nariakiiwatani commented 3 years ago

@steeley Hi, there was a bug with sending audio stream. fixed by this commit. b90a675 please check it!

steeley commented 3 years ago

Thank you! Yes, I can confirm that this has fixed the problem.