You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Baozhu Zuo edited this page Feb 1, 2018
·
2 revisions
On Linux, we use ALSA (Advanced Linux Sound Architecture) to record and play.
We can use tools such as arecord, aplay, speaker-test, alsamixer, audacity, pulseaudio, pavucontrol and etc.
Test sound card
speaker-test -D plughw:0
Note: plughw:0 instead of hw:0 is used, as ALSA plug plugin helps to convert any format to a hardware supported format.
Record & Play
Record an audio with 16000 sample rate and single chanel and play it.
To support multiple applications to record and play simultaneously, try alsa dmix plugins.
The used ALSA plugins in the configuration are asym, dmix, dsnoop and plug. Now you can use arecord and audacity to record at the some time.
If you can't record or play, try to change the value of ipc_key to another value.