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