diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-04-03 00:04:31 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-03 23:25:19 +0200 |
| commit | d311043bf3c1e3e7f41b314f7ab7c91ed7e5aa7f (patch) | |
| tree | ab41f58144bda078f96ce23f6328bd36cbd18dc6 /src/lib/audio_delay.cc | |
| parent | 8c39f950ec8f8b3cf4d258279ab499d7e71dafc8 (diff) | |
C++11 and whitespace cleanups.
Diffstat (limited to 'src/lib/audio_delay.cc')
| -rw-r--r-- | src/lib/audio_delay.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/audio_delay.cc b/src/lib/audio_delay.cc index 90214470c..d06d9e730 100644 --- a/src/lib/audio_delay.cc +++ b/src/lib/audio_delay.cc @@ -43,7 +43,7 @@ AudioDelay::run (shared_ptr<const AudioBuffers> in) /* You can't call this with varying channel counts */ DCPOMATIC_ASSERT (!_tail || in->channels() == _tail->channels()); - shared_ptr<AudioBuffers> out (new AudioBuffers (in->channels(), in->frames())); + auto out = make_shared<AudioBuffers>(in->channels(), in->frames()); if (in->frames() > _samples) { |
