跳至正文
Wener Notes

ALSA (Advanced Linux Sound Architecture)

约 1 分钟阅读
标签:LinuxAudioALSA
bash
sudo modprobe snd_aloop
mpc add alsa://hw:1,1
ini
audio_output {
    type            "httpd"
    name            "My HTTP Stream"
    encoder         "vorbis" # optional, vorbis or lame
    port            "8000"
    bind_to_address "192.168.1.38" # optional, IPv4 or IPv6
    quality         "5.0" # do not define if bitrate is d$

    # bitrate "128" # do not define if quality is d$

    format          "44100:16:1"
    max_clients     "0"                     # optional 0=no limit

}
bash
aplay -l

Docker 中使用 ALSA

bash
--device /dev/snd

参考资源

关联信息

反向链接、本文链接的其他页面和外部资料。

参考资料

GitHub1 条
Wikipedia1 条
其他外链7 条
最近更新commit 906e816编辑