ALSA (Advanced Linux Sound Architecture)
sudo modprobe snd_aloop
mpc add alsa://hw:1,1audio_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
}aplay -lDocker 中使用 ALSA
--device /dev/snd参考资源
关联信息
反向链接、本文链接的其他页面和外部资料。
参考资料
GitHub1 条
- jessfraz/dockerfilesgithub.com/jessfraz/dockerfiles
Wikipedia1 条
- Sound serverWikipedia:Sound server
其他外链7 条
- askubuntu.com/a/894680/267103askubuntu.com/a/894680/267103
- stackoverflow.com/a/41084959/1870054stackoverflow.com/a/41084959/1870054
- unix.stackexchange.com/a/1896/47774unix.stackexchange.com/a/1896/47774
- wiki.asterisk.org/wiki/display/AST/AudioSocketwiki.asterisk.org/wiki/display/AST/AudioSocket
- www.pogo.org.uk/~mark/trxwww.pogo.org.uk/~mark/trx
- www.pogo.org.uk/~mark/trx/streaming-desktop-audio.htmlwww.pogo.org.uk/~mark/trx/streaming-desktop-audio.html
- ywwg.com/wordpress/archives/1201ywwg.com/wordpress/archives/1201