[PATCH 5/5] ASoC: rsnd: add usage for SRC

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Thu Apr 8 06:29:15 CEST 2021


From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>

This patch add missing usage comment for SRC.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
---
 sound/soc/sh/rcar/src.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/sound/soc/sh/rcar/src.c b/sound/soc/sh/rcar/src.c
index 585ffba0244b..628af8f3920d 100644
--- a/sound/soc/sh/rcar/src.c
+++ b/sound/soc/sh/rcar/src.c
@@ -5,6 +5,15 @@
 // Copyright (C) 2013 Renesas Solutions Corp.
 // Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
 
+/*
+ * You can use Synchronous Sampling Rate Convert (if no DVC)
+ *
+ *	amixer set "SRC Out Rate" on
+ *	aplay xxx.wav &
+ *	amixer set "SRC Out Rate" 96000 // convert rate to 96000Hz
+ *	amixer set "SRC Out Rate" 22050 // convert rate to 22050Hz
+ */
+
 /*
  * you can enable below define if you don't need
  * SSI interrupt status debug message when debugging
-- 
2.25.1



More information about the Alsa-devel mailing list