1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-16 09:31:14 +01:00

Another case where extra deinterleaving isn't necessary. CopySamples() can do

the job quite nicely...well, given the "stride" information he needs.  And in
some cases, it will just use memcpy() so it may improve capture performance a
bit more.
This commit is contained in:
lllucius
2013-09-23 20:36:39 +00:00
parent 6a7da21dec
commit f7aca4b474
3 changed files with 6 additions and 40 deletions

View File

@@ -23,7 +23,7 @@ class RingBuffer {
//
int AvailForPut();
int Put(samplePtr buffer, sampleFormat format, int samples);
int Put(samplePtr buffer, sampleFormat format, int samples, int stride = 1);
//
// For the reader only: