💾 Archived View for thrig.me › tech › openbsd › stream.patch captured on 2024-07-09 at 03:35:14.

View Raw

More Information

⬅️ Previous capture (2023-11-04)

-=-=-=-=-=-=-

--- src/stream.c.orig	Mon Oct 16 14:53:44 2023
+++ src/stream.c	Mon Oct 16 15:00:09 2023
@@ -225,7 +225,7 @@
 		break;
 	case CFG_STREAM_MP3:
 		if (SHOUTERR_SUCCESS !=
-		    shout_set_content_format(s->shout, SHOUT_FORMAT_MP3, 0, NULL)) {
+		    shout_set_content_format(s->shout, SHOUT_FORMAT_MP3, SHOUT_USAGE_AUDIO, NULL)) {
 			log_error("stream: %s: format: %s: %s",
 			    s->name, cfg_stream_get_format_str(cfg_stream),
 			    shout_get_error(s->shout));