NAudio Asio Record and Playback

前端 未结 1 1497
有刺的猬
有刺的猬 2020-12-22 02:15

I\'m trying to write my own VST Host and for that i need to record and play audio from an Asio Driver (in my case for an audio interface). That\'s why i\'m trying to use NAu

相关标签:
1条回答
  • 2020-12-22 02:46

    Your second attempt is more correct than the first: each input buffer must be copied separately. However the final parameter of the copy method should be the number of bytes, not the number of samples in the buffer. This will typically be 3 or 4 bytes per sample, depending on your ASIO bit depth.

    0 讨论(0)
提交回复
热议问题