[Sound-open-firmware] [PATCH 1/2] topology: sof: Fix a typo for pipe src capture
From: Pan Xiuli xiuli.pan@linux.intel.com
Should be src capture here in capture pipe.
Signed-off-by: Pan Xiuli xiuli.pan@linux.intel.com --- topology/sof/pipe-src-capture.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/topology/sof/pipe-src-capture.m4 b/topology/sof/pipe-src-capture.m4 index 9484ca8..c843a6c 100644 --- a/topology/sof/pipe-src-capture.m4 +++ b/topology/sof/pipe-src-capture.m4 @@ -14,7 +14,7 @@ include(`local.m4')
# Host "Passthrough Playback" PCM uses pipeline DMAC and channel # with 4 sink and 0 source periods -W_PCM_PLAYBACK(Passthrough Capture, PIPELINE_DMAC, PIPELINE_DMAC_CHAN, 4, 0, 2) +W_PCM_CAPTURE(Passthrough Capture, PIPELINE_DMAC, PIPELINE_DMAC_CHAN, 4, 0, 2)
# # SRC Configuration
From: Pan Xiuli xiuli.pan@linux.intel.com
Add src pipe for test case.
Signed-off-by: Pan Xiuli xiuli.pan@linux.intel.com --- topology/test/tplg-build.sh | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/topology/test/tplg-build.sh b/topology/test/tplg-build.sh index 86bcfd7..5d7cd49 100755 --- a/topology/test/tplg-build.sh +++ b/topology/test/tplg-build.sh @@ -52,15 +52,18 @@ simple_test nocodec passthrough "NoCodec" s24le 2 s24le 25 24 2400000 simple_test nocodec volume "NoCodec" s16le 2 s16le 20 16 1920000 simple_test nocodec volume "NoCodec" s24le 2 s24le 25 24 2400000 simple_test nocodec volume "NoCodec" s16le 2 s24le 25 24 2400000 +simple_test nocodec src "NoCodec" s24le 2 s24le 25 24 2400000
simple_test codec passthrough "SSP2-Codec" s16le 2 s16le 20 16 1920000 simple_test codec passthrough "SSP2-Codec" s24le 2 s24le 25 24 2400000 simple_test codec volume "SSP2-Codec" s16le 2 s16le 20 16 1920000 simple_test codec volume "SSP2-Codec" s24le 2 s24le 25 24 2400000 simple_test codec volume "SSP2-Codec" s16le 2 s24le 25 24 2400000 +simple_test codec src "SSP2-Codec" s24le 2 s24le 25 24 2400000
simple_test baytrail passthrough "Baytrail Audio" s16le 2 s16le 20 16 1920000 simple_test baytrail passthrough "Baytrail Audio" s24le 2 s24le 25 24 2400000 simple_test baytrail volume "Baytrail Audio" s16le 2 s16le 20 16 1920000 simple_test baytrail volume "Baytrail Audio" s24le 2 s24le 25 24 2400000 simple_test baytrail volume "Baytrail Audio" s16le 2 s24le 25 24 2400000 +simple_test baytrail src "Baytrail Audio" s24le 2 s24le 25 24 2400000
On Tue, 2017-12-19 at 14:35 +0800, Xiuli Pan wrote:
From: Pan Xiuli xiuli.pan@linux.intel.com
Should be src capture here in capture pipe.
Signed-off-by: Pan Xiuli xiuli.pan@linux.intel.com
topology/sof/pipe-src-capture.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/topology/sof/pipe-src-capture.m4 b/topology/sof/pipe- src-capture.m4 index 9484ca8..c843a6c 100644 --- a/topology/sof/pipe-src-capture.m4 +++ b/topology/sof/pipe-src-capture.m4 @@ -14,7 +14,7 @@ include(`local.m4')
# Host "Passthrough Playback" PCM uses pipeline DMAC and channel # with 4 sink and 0 source periods -W_PCM_PLAYBACK(Passthrough Capture, PIPELINE_DMAC, PIPELINE_DMAC_CHAN, 4, 0, 2) +W_PCM_CAPTURE(Passthrough Capture, PIPELINE_DMAC, PIPELINE_DMAC_CHAN, 4, 0, 2)
# # SRC Configuration
Both applied.
Liam
participants (2)
-
Liam Girdwood
-
Xiuli Pan