Skip to content

Commit

Permalink
[Mod] XMPlay input plugin: Prefer using the default output format req…
Browse files Browse the repository at this point in the history
…uested by XMPlay by default.

git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@22604 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Dec 23, 2024
1 parent 412fa60 commit 56b63fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libopenmpt/plugin-common/libopenmpt_plugin_settings.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ class settings : public libopenmpt_settings {
: subkey(subkey)
{
no_default_format = no_default_format_;
if (!no_default_format) {
samplerate = 0;
channels = 0;
}
}
void load()
{
Expand Down

0 comments on commit 56b63fb

Please sign in to comment.