Skip to content

Commit 789da3b

Browse files
ds-slothWohlstand
authored andcommitted
libxtconvert.cpp: convert_sfx - use XQOA format on 3DS and Wii
1 parent 682d520 commit 789da3b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

XTConvert/src/libxtconvert.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1300,6 +1300,8 @@ class Converter
13001300
{
13011301
MDAudioFileSpecWanted spec_wanted;
13021302

1303+
m_audioOutFormat = FORMAT_XQOA;
1304+
13031305
switch(m_spec.target_platform)
13041306
{
13051307
default:
@@ -1320,6 +1322,7 @@ class Converter
13201322
case TargetPlatform::DSG:
13211323
spec_wanted.m_sample_rate = 16384;
13221324
spec_wanted.m_channels = 1;
1325+
m_audioOutFormat = FORMAT_WAV;
13231326
break;
13241327
}
13251328

@@ -1359,7 +1362,6 @@ class Converter
13591362
}
13601363

13611364
m_audioOutPath = out_path;
1362-
m_audioOutFormat = FORMAT_WAV;
13631365

13641366
if(!m_audioCvt.openOutFile(m_audioOutPath.toStdString(), m_audioOutFormat, m_audioDstSpec))
13651367
{

0 commit comments

Comments
 (0)