mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-29 16:27:03 +01:00
Fix bug 597
24-bit int imports as float and converted by Append.
This commit is contained in:
@@ -277,7 +277,7 @@ void ImportRaw(wxWindow *parent, const wxString &fileName,
|
|||||||
((float *)srcbuffer.ptr())[numChannels*j+c];
|
((float *)srcbuffer.ptr())[numChannels*j+c];
|
||||||
}
|
}
|
||||||
|
|
||||||
iter->get()->Append(buffer.ptr(), format, block);
|
iter->get()->Append(buffer.ptr(), (format == int16Sample)?int16Sample:floatSample, block);
|
||||||
}
|
}
|
||||||
framescompleted += block;
|
framescompleted += block;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user