mu-util-play: simplify

Remove some unused options
This commit is contained in:
Dirk-Jan C. Binnema
2022-06-03 22:01:25 +03:00
parent 172ff25bb6
commit 0fe8f9a613
4 changed files with 23 additions and 45 deletions

View File

@ -43,7 +43,7 @@ save_part(const Message::Part& part, size_t idx, const MuConfig* opts)
if (opts->play) {
GError *err{};
if (auto res{mu_util_play(path.c_str(), TRUE, FALSE, &err)};
if (auto res{mu_util_play(path.c_str(), &err)};
res != MU_OK)
return Err(Error::Code::Play, &err, "playing '%s' failed",
path.c_str());