aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--src/output/mvp_plugin.c6
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index c23f4b465..629b29826 100644
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,7 @@ ver 0.15 - (200?/??/??)
- shout: enlarged buffer size to 32 kB
- null: allow disabling synchronization
- mvp: fall back to stereo
+ - mvp: fall back to 16 bit audio samples
* commands:
- "playlistinfo" supports a range now
- added "sticker database", command "sticker", which allows clients
diff --git a/src/output/mvp_plugin.c b/src/output/mvp_plugin.c
index 08e92bd85..3c302f0a0 100644
--- a/src/output/mvp_plugin.c
+++ b/src/output/mvp_plugin.c
@@ -152,7 +152,11 @@ mvp_set_pcm_params(struct mvp_data *md, struct audio_format *audio_format)
break;
default:
- return false;
+ g_debug("unsupported sample format %u - falling back to stereo",
+ audio_format->bits);
+ audio_format->bits = 16;
+ mix[1] = 2;
+ break;
}
mix[3] = 0; /* stream type? */