[Alsa-user] alsa plugin data flow for capture

2021-06-03 Thread yvonne_cyh
Hi All Could any one tell me how does the data flow like for arecord with alsa plugin? I found the description on alsa document, with a plugin definition in asound.conf pcm.myplugdev {     type plug     slave {          pcm default          rate 48000     } } the data flow for aplay ??aplay -D

[Alsa-user] about sample rate converter for arecord

2021-06-03 Thread yvonne_cyh
Hi All Who can give me some explanation in detail how resample plugin works during arecord. I would like to record a pcm file to 48k samplerate with command line  arecord  -D plughw:1,0 -c 2 -r 48000 -f s32_le test.pcm I found pcm is still 96K samplerate instead of 48K,as my source is 96K. And af

[Alsa-user] How to combine two alsa cards as one

2021-05-19 Thread yvonne_cyh
Hi All I would like to combine one alsa card to work as one.  I have two alsa cards on my board. I hope when I capture audio data from the second alsa card, the data source is comes from the first one. Is there a configuration method to set up a tunnel for this. Otherwise I have to capture audio