| 138 | } |
| 139 | |
| 140 | void Shift(int64_t samples, openshot::Fraction fps, int sample_rate, int channels, bool right_side) { |
| 141 | // Extend each side of the range (to SHIFT the range) by adding (or subtracting) from both sides |
| 142 | // For example: [ range ] |
| 143 | // For example: [ range ] |
| 144 | if (right_side) { |
| 145 | // SHIFT both sides to the right |
| 146 | Extend(samples, fps, sample_rate, channels, true); |
| 147 | Shrink(samples, fps, sample_rate, channels, false); |
| 148 | } else { |
| 149 | // SHIFT both sides to the left |
| 150 | Extend(samples, fps, sample_rate, channels, false); |
| 151 | Shrink(samples, fps, sample_rate, channels, true); |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | int total; |
| 156 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected