From 887d83f9c7089031991545664bddd49e6c69435e Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Fri, 8 Mar 2024 12:32:46 +0800 Subject: [PATCH] Replace hw with plughw --- sherpa-ncnn/csrc/alsa.cc | 2 +- sherpa-ncnn/csrc/sherpa-ncnn-alsa.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sherpa-ncnn/csrc/alsa.cc b/sherpa-ncnn/csrc/alsa.cc index dac9fd17..45d2f02b 100644 --- a/sherpa-ncnn/csrc/alsa.cc +++ b/sherpa-ncnn/csrc/alsa.cc @@ -62,7 +62,7 @@ card 3: UACDemoV10 [UACDemoV1.0], device 0: USB Audio [USB Audio] and if you want to select card 3 and the device 0 on that card, please use: - hw:3,0 + plughw:3,0 )"; diff --git a/sherpa-ncnn/csrc/sherpa-ncnn-alsa.cc b/sherpa-ncnn/csrc/sherpa-ncnn-alsa.cc index fd29f684..77908b0d 100644 --- a/sherpa-ncnn/csrc/sherpa-ncnn-alsa.cc +++ b/sherpa-ncnn/csrc/sherpa-ncnn-alsa.cc @@ -67,7 +67,7 @@ card 3: UACDemoV10 [UACDemoV1.0], device 0: USB Audio [USB Audio] and if you want to select card 3 and the device 0 on that card, please use: - hw:3,0 + plughw:3,0 as the device_name. )usage";