swe*_*imm 5 configuration alsa audio pulseaudio
I am working on an audio stream between two virtual servers. For that, I have set up a dummy soundcard (as the vservers don't have a hw card) using modprobe snd-dummy
.
That seems to work fine - I am able to tweak volume levels using alsamixer
. Unfortunately, I am not able to record any playback. I used arecord -r 48000 -c 1
to see what's going on, and the output is quite creepy. It contains paths:
Aufnahme: WAVE 'stdin' : Unsigned 8 bit, Rate: 48000 Hz, mono
RIFF$WAVEfmt »data8¶5m8¶5m {D {DXCCC± C²5m C@P {D°}DxC@C0C! C°~DPÀ}D?CÐ{DÐ{DÀ{DQ`C C `D(²5m@0re/alsa/bluetooth.confá?C²5m 0°|Dre/alsa/pulse.conf?C²5mbluetooth.confaC CiceAà|D|D |Dr/.asoun P°CCX|DÐ{DÀ{DÑ CCÿÿÿÿÿÿÿÿèC`CPC`C C |D¸CCCA CC CP@Cà~D~DC8¶5m8¶5m {D {DXCCC± C²5m C@P {D°}DxC@C0C! C°~DPÀ}D?CÐ{DÐ{DÀ{DQ`C C `D(²5m@0re/alsa/bluetooth.confá?C²5m 0°|Dre/alsa/pulse.conf?C²5mbluetooth.confaC CiceAà|D|D |Dr/.asoun P°CCX|DÐ{DÀ{DÑ CCÿÿÿÿÿÿÿÿèC`CPC`C C |D¸CCCA CC CP@Cà~D~DC8¶5m8¶5m {D {DXCCC± C²5m C@P {D°}DxC@C0C! C°~DPÀ}D?CÐ{DÐ{
Run Code Online (Sandbox Code Playgroud)
And so on...
There mentions of [..]/alsa/pulse.conf
, bluetooth.conf
and .asoun[drc?]
are really really strange.
Does anyone have a clue what is going on here? Have I configured the soundcard the wrong way, or is there anything I missed?
arecord 将从你的声卡中录制,这是一个虚拟的,所以它包含垃圾也就不足为奇了。您想从网络录制。有很多方法可以做到这一点,但 snd-dummy 没有帮助。您可以尝试脉冲音频 - 它对网络声音有很好的支持,或者您可以使用插孔音频 - 设置起来有点困难,但不太混乱且延迟低。
归档时间: |
|
查看次数: |
2054 次 |
最近记录: |