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";