diff options
Diffstat (limited to 'libs/panners')
-rw-r--r-- | libs/panners/1in2out/panner_1in2out.cc | 4 | ||||
-rw-r--r-- | libs/panners/2in2out/panner_2in2out.cc | 8 | ||||
-rw-r--r-- | libs/panners/2in2out/panner_2in2out.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/libs/panners/1in2out/panner_1in2out.cc b/libs/panners/1in2out/panner_1in2out.cc index 30f71032f4..b4a1dd69bd 100644 --- a/libs/panners/1in2out/panner_1in2out.cc +++ b/libs/panners/1in2out/panner_1in2out.cc @@ -243,7 +243,7 @@ Panner1in2out::distribute_one (AudioBuffer& srcbuf, BufferSet& obufs, gain_t gai if (pan != 0.0f) { /* pan is not 1 but also not 0, so we must do it "properly" */ - + mix_buffers_with_gain(dst,src,nframes,pan); /* XXX it would be nice to mark the buffer as written to */ @@ -252,7 +252,7 @@ Panner1in2out::distribute_one (AudioBuffer& srcbuf, BufferSet& obufs, gain_t gai } else { /* pan is 1 so we can just copy the input samples straight in */ - + mix_buffers_no_gain(dst,src,nframes); /* XXX it would be nice to mark the buffer as written to */ diff --git a/libs/panners/2in2out/panner_2in2out.cc b/libs/panners/2in2out/panner_2in2out.cc index 73d193d73b..3cfc358530 100644 --- a/libs/panners/2in2out/panner_2in2out.cc +++ b/libs/panners/2in2out/panner_2in2out.cc @@ -311,7 +311,7 @@ Panner2in2out::distribute_one (AudioBuffer& srcbuf, BufferSet& obufs, gain_t gai if (pan != 0.0f) { /* pan is 1 but also not 0, so we must do it "properly" */ - + //obufs.get_audio(1).read_from (srcbuf, nframes); mix_buffers_with_gain(dst,src,nframes,pan); @@ -369,17 +369,17 @@ Panner2in2out::distribute_one (AudioBuffer& srcbuf, BufferSet& obufs, gain_t gai if (pan != 0.0f) { /* pan is not 1 but also not 0, so we must do it "properly" */ - + mix_buffers_with_gain(dst,src,nframes,pan); // obufs.get_audio(1).read_from (srcbuf, nframes); - + /* XXX it would be nice to mark the buffer as written to */ } } else { /* pan is 1 so we can just copy the input samples straight in */ - + mix_buffers_no_gain(dst,src,nframes); /* XXX it would be nice to mark the buffer as written to */ diff --git a/libs/panners/2in2out/panner_2in2out.h b/libs/panners/2in2out/panner_2in2out.h index 9dc7826f67..bc81234eda 100644 --- a/libs/panners/2in2out/panner_2in2out.h +++ b/libs/panners/2in2out/panner_2in2out.h @@ -51,7 +51,7 @@ class Panner2in2out : public Panner std::pair<double, double> position_range () const; std::pair<double, double> width_range () const; - + void set_position (double); void set_width (double); |