From f5e59c9b2674d1d27c22c8a56f919e4a8a0aed4c Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Tue, 5 Nov 2019 00:13:33 +0100 Subject: [PATCH] [pipe] Allow sample rate of 88200 Ref. issue #838 --- src/inputs/pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inputs/pipe.c b/src/inputs/pipe.c index 03c26134..e8e18c69 100644 --- a/src/inputs/pipe.c +++ b/src/inputs/pipe.c @@ -1047,7 +1047,7 @@ init(void) } pipe_sample_rate = cfg_getint(cfg_getsec(cfg, "library"), "pipe_sample_rate"); - if (pipe_sample_rate != 44100 && pipe_sample_rate != 48000 && pipe_sample_rate != 96000) + if (pipe_sample_rate != 44100 && pipe_sample_rate != 48000 && pipe_sample_rate != 88200 && pipe_sample_rate != 96000) { DPRINTF(E_FATAL, L_PLAYER, "The configuration of pipe_sample_rate is invalid: %d\n", pipe_sample_rate); return -1;