add option to swap bytes in raw smp import
This commit is contained in:
parent
8231e3beba
commit
a3d8c81e9d
2 changed files with 11 additions and 2 deletions
|
|
@ -5874,8 +5874,6 @@ bool FurnaceGUI::loop() {
|
|||
|
||||
if (pendingRawSampleDepth!=DIV_SAMPLE_DEPTH_8BIT && pendingRawSampleDepth!=DIV_SAMPLE_DEPTH_16BIT) {
|
||||
pendingRawSampleChannels=1;
|
||||
}
|
||||
if (pendingRawSampleDepth!=DIV_SAMPLE_DEPTH_16BIT) {
|
||||
pendingRawSampleBigEndian=false;
|
||||
}
|
||||
|
||||
|
|
@ -5902,6 +5900,10 @@ bool FurnaceGUI::loop() {
|
|||
ImGui::Checkbox("Swap nibbles",&pendingRawSampleSwapNibbles);
|
||||
}
|
||||
|
||||
if (pendingRawSampleDepth==DIV_SAMPLE_DEPTH_8BIT) {
|
||||
ImGui::Checkbox("Swap words",&pendingRawSampleBigEndian);
|
||||
}
|
||||
|
||||
if (pendingRawSampleDepth==DIV_SAMPLE_DEPTH_MULAW) {
|
||||
ImGui::Text("Encoding:");
|
||||
ImGui::Indent();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue