diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-10 20:45:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-10 20:45:07 +0100 |
| commit | 4dee3db5222be7972930dbc621e9ab15a81d33d2 (patch) | |
| tree | 5d19e620d6d074bf174e4e05fe3028b8eef7047d /src/lib/playlist.cc | |
| parent | 8f1c131a933e7695684e22eb82abba30fe119915 (diff) | |
Remove believed unnecessary audio channel layout stuff for resampler.
Diffstat (limited to 'src/lib/playlist.cc')
| -rw-r--r-- | src/lib/playlist.cc | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc index 717c1dace..f346cb6e0 100644 --- a/src/lib/playlist.cc +++ b/src/lib/playlist.cc @@ -143,28 +143,6 @@ Playlist::audio_frame_rate () const return 0; } -int64_t -Playlist::audio_channel_layout () const -{ - /* XXX: assuming that all content has the same layout */ - - switch (_audio_from) { - case AUDIO_FFMPEG: - { - shared_ptr<const FFmpegContent> fc = first_ffmpeg (); - if (fc) { - return fc->audio_channel_layout (); - } - break; - } - case AUDIO_SNDFILE: - /* XXX */ - return 0; - } - - return 0; -} - float Playlist::video_frame_rate () const { |
