Fix Ogg export (maybe float export also?)
git-svn-id: svn://localhost/ardour2/branches/3.0@7948 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2c23733a1d
commit
544f62d4be
@ -201,8 +201,9 @@ ExportGraphBuilder::SFC::SFC (ExportGraphBuilder &, FileSpec const & new_config,
|
||||
int_converter->init (max_frames, config.format->dither_type(), data_width);
|
||||
add_child (config);
|
||||
} else {
|
||||
int actual_data_width = 8 * sizeof(Sample);
|
||||
float_converter = FloatConverterPtr (new SampleFormatConverter<Sample> (channels));
|
||||
float_converter->init (max_frames, config.format->dither_type(), data_width);
|
||||
float_converter->init (max_frames, config.format->dither_type(), actual_data_width);
|
||||
add_child (config);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user