diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-07-16 21:44:14 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-07-16 21:44:14 +0000 |
commit | c0529df1a354d51911921b15acdb771707c44287 (patch) | |
tree | de09987cbd22d60b85dfd18155bb6b163264fb70 /libs/ardour/sndfilesource.cc | |
parent | 21a260ebf46c9c57061b3319f81e8306c1a8f4af (diff) |
support for 16 bit native files
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2132 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/sndfilesource.cc')
-rw-r--r-- | libs/ardour/sndfilesource.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/sndfilesource.cc b/libs/ardour/sndfilesource.cc index 24647030ab..ed1378a723 100644 --- a/libs/ardour/sndfilesource.cc +++ b/libs/ardour/sndfilesource.cc @@ -122,6 +122,10 @@ SndFileSource::SndFileSource (Session& s, ustring path, SampleFormat sfmt, Heade case FormatInt24: fmt |= SF_FORMAT_PCM_24; break; + + case FormatInt16: + fmt |= SF_FORMAT_PCM_16; + break; } _info.channels = 1; |