mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +01:00
Parse v2 session-information
This commit is contained in:
parent
eff5462009
commit
415d3191de
1 changed files with 6 additions and 0 deletions
|
|
@ -4523,6 +4523,12 @@ Session::get_info_from_path (const string& xmlpath, float& sample_rate, SampleFo
|
|||
return -1;
|
||||
}
|
||||
|
||||
if ((parse_stateful_loading_version(version) / 1000L) <= 2) {
|
||||
/* sample-format '0' is implicit */
|
||||
data_format = FormatFloat;
|
||||
found_data_format = true;
|
||||
}
|
||||
|
||||
node = node->children;
|
||||
while (node != NULL) {
|
||||
if (!strcmp((const char*) node->name, "ProgramVersion")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue