Skip to content

Commit 0af736b

Browse files
committed
Modify gst_alsa sample code
Signed-off-by: Wanghao Wei <quic_wanghaow@quicinc.com>
1 parent c70872f commit 0af736b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Gstreamer-Applications/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ GUI application is a Qt application. It needs to run ```qmake``` to generate Mak
4747
Other samples can use ```make``` to compile directly.
4848

4949
```bash
50-
$ cd /data/Gstreamer-Applications
50+
$ cd Gstreamer-Applications
5151
$ cd gst_gui_app/
5252
$ qmake
5353
$ cd ..

Gstreamer-Applications/gst_alsa/HWConfig/qc-alsa-restore.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Description=QC ALSA restore Service
88
After=init_audio.service
99

1010
[Service]
11-
Type=notify
11+
Type=idle
1212
ExecStartPre=/bin/sleep 10s
1313
ExecStart=/usr/bin/qc_alsa_restore.sh
1414
Restart=on-failure

Gstreamer-Applications/gst_alsa/HWConfig/qc_alsa_restore.sh

100644100755
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved.
1+
#! /bin/bash
2+
3+
# Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved.
24
# SPDX-License-Identifier: BSD-3-Clause-Clear
35

4-
#! /bin/bash
56
amixer cset name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia1" "1"
67
amixer cset name="WSA_CDC_DMA_RX_0 Channels" "Two"
78
amixer cset name="WSA RX0 MUX" "AIF1_PB"

0 commit comments

Comments
 (0)