mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 11:06:32 +01:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue