diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-16 19:40:43 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-16 19:40:43 +0100 |
| commit | 20eea989f452ea1a6af0af6b5c5b504d3b19480c (patch) | |
| tree | 51c922df42151747efc5f4db90bf79b53d6b4bac /src/lib/film.cc | |
| parent | d71b3fffa09263a2116b3f91981c1999b4ae873c (diff) | |
Modify previous commit to move restriction code into the UI.
Diffstat (limited to 'src/lib/film.cc')
| -rw-r--r-- | src/lib/film.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc index 98b921029..66d651c27 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -1232,18 +1232,3 @@ Film::audio_output_names () const return vector<string> (n.begin(), n.begin() + audio_channels ()); } - -int -Film::audio_channels () const -{ - int minimum = 0; - if (_audio_processor) { - minimum = _audio_processor->out_channels (); - } - - if (minimum % 2 == 1) { - ++minimum; - } - - return max (minimum, _audio_channels); -} |
