diff --git a/README.md b/README.md index ff11d4b..88e5f2b 100644 --- a/README.md +++ b/README.md @@ -214,9 +214,9 @@ arecord -Dac108 -f S32_LE -r 16000 -c 4 a.wav arecord -Dac108 -f S32_LE -r 16000 -c 8 a.wav #Take care of that the captured mic audio is on the first 6 channels -#It will play sound file a.wav on AC101 -aplay -D ac101 a.wav -#Do not use -D plughw:1,0 directly except your wave file is single channel only. +#It will play a mono channel sound file mono_to_play.wav +#The file to play must be mono channel or else the speaker output nothing. +aplay -D plughw:1,0 mono_to_play.wav #Doing capture && playback the same time arecord -D hw:1,0 -f S32_LE -r 16000 -c 8 to_be_record.wav & diff --git a/asound_6mic.conf b/asound_6mic.conf index 9679be4..180aac0 100644 --- a/asound_6mic.conf +++ b/asound_6mic.conf @@ -3,13 +3,17 @@ pcm.!default { type asym - playback.pcm "ac101" + playback.pcm "playback" capture.pcm "ac108" } pcm.playback { type plug - slave.pcm "hw:0,0" + slave { + rate 48000 + format S32_LE + pcm "hw:1,0" + } } pcm.dmixed { @@ -25,7 +29,11 @@ pcm.ac108 { pcm.multiapps { type dsnoop - slave.pcm "hw:1,0" + slave { + rate 48000 + format S32_LE + pcm "hw:1,0" + } ipc_key 666666 }