Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: Asio under NAudio: Problem with passing audio in to audio out on same AsioOut instance

$
0
0
Hi Mark,

Thanks for the response.

At this point in time, our project is only focused on bringing in data over ASIO, and is working like a champ.

I had experiemented with the scheme you have proposed below, where pointers are used to transfer the data, and I was running into some sort of syntax/compilation error at about the point in time where we no longer had the requirement to play back audio we had received, and the effort was abandoned.

Eventually we may revisit the feature to be able to pass Input Audio right back out, using the ASIO object, and I will post any successful code at that time.

FWIW, pointers are no big deal here, I am really a low level C/assembler HW/FW/SW engineer temporarily wearing my C# hat.

Thanks,
John Waygan




On 2/23/2015 3:03 PM, markheath wrote:

From: markheath

you are not copying over the output buffers. You are copying the array of output buffer pointers, which will have no effect.
This option is only advised for people who are comfortable for working with pointers. You need to go through each InputBuffer pointer, and copy the number of bytes available from that pointer to the pointer in the corresponding output buffer pointer.


Viewing all articles
Browse latest Browse all 5831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>