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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user