mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
more gcc4 fixes to handle jumps over declarations
git-svn-id: svn://localhost/trunk/ardour2@418 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f9ee71f60e
commit
45c9da3b98
1 changed files with 3 additions and 2 deletions
|
|
@ -189,6 +189,7 @@ Editor::embed_sndfile (Glib::ustring path, bool split, bool multiple_files, bool
|
|||
{
|
||||
ExternalSource *source = 0; /* keep g++ quiet */
|
||||
AudioRegion::SourceList sources;
|
||||
AudioRegion* region;
|
||||
string idspec;
|
||||
string linked_path;
|
||||
SoundFileInfo finfo;
|
||||
|
|
@ -285,8 +286,8 @@ Editor::embed_sndfile (Glib::ustring path, bool split, bool multiple_files, bool
|
|||
region_name = PBD::basename_nosuffix (path);
|
||||
region_name += "-0";
|
||||
|
||||
AudioRegion* region = new AudioRegion (sources, 0, sources[0]->length(), region_name, 0,
|
||||
Region::Flag (Region::DefaultFlags|Region::WholeFile|Region::External));
|
||||
region = new AudioRegion (sources, 0, sources[0]->length(), region_name, 0,
|
||||
Region::Flag (Region::DefaultFlags|Region::WholeFile|Region::External));
|
||||
|
||||
input_chan = finfo.channels;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue