No Volume Control GStreamer plugin
来源:互联网 发布:淘宝淘客店铺 编辑:程序博客网 时间:2024/05/20 16:01
在Linux下,有时会突然音量控制没法使用,点击一下Volume Control, 会出现错误提示
The volume control did not find any elements and/or devices to control.
This means either that you don't have the right GStreamer plugins installed,
or that you don't have a sound card configured.
You can remove the volume control from the panel by right-clicking the speaker
icon on the panel and selecting "Remove From Panel" from the menu.
如果再接着点击Volume Control, 就会出现
No volume control GStreamer plugins and/or devices found.
问题的根源在于用户失去了访问audio设备的权限。可以通过命令
ls -la /dev/snd
来查看音频设备的使用权限。比如在我的系统下,输出
total 0
drwxr-xr-x 2 root root 180 2008-05-14 08:53 .
drwxr-xr-x 12 root root 4580 2008-05-15 13:01 ..
crw-rw----+ 1 root root 116, 8 2008-05-14 08:53 controlC0
crw-rw----+ 1 root root 116, 7 2008-05-14 08:53 hwC0D2
crw-rw----+ 1 root root 116, 6 2008-05-14 08:54 pcmC0D0c
crw-rw----+ 1 root root 116, 5 2008-05-14 14:04 pcmC0D0p
crw-rw----+ 1 root root 116, 4 2008-05-14 08:53 pcmC0D1p
crw-rw----+ 1 root root 116, 3 2008-05-14 08:53 seq
crw-rw----+ 1 root root 116, 2 2008-05-14 08:53 timer
这代表只有root和audio组的用户可以使用 音频设备。这也就是为什么
在root下Volume Control工作正常,而在其他用户下无法使用。也许是
一些错误操作将用户从audio组中删除而无法使用音频设备。解决办法是
sudo chmod -R a+rwx /dev/snd
这样就会让所有的用户可以访问音频设备。 更加恰当的方法是,
sudo usermod -a -G audiousrname.
上述操作将用户usrname添加到audio组中。
- No Volume Control GStreamer plugin
- 解决no volume control Gstreamer plugins and/or devices found 问题
- GStreamer Plugin开发
- UVALive 6843 Volume Control
- Windows Hotkey control volume
- gstreamer的plugin注册流程
- Gstreamer Plugin 编写 之 入门
- Gstreamer Plugin 编写 之 入门
- k8s volume plugin FlexVolume 开发
- Docker容器对存储的定义 Volume 与 Volume Plugin
- No package 'theoraenc' found gstreamer
- 踏出 gstreamer plugin 的第一步
- 看見 gstreamer plugin 的第二步
- 推動 gstreamer plugin 的第三步
- 踏出 gstreamer plugin 的第一步
- 看見 gstreamer plugin 的第二步
- 推动 gstreamer plugin 的第三步
- Docker Volume Plugin 开发及Golang实现
- (转帖)用C#创建SQL Server的存储过程
- The Enigma Protector 1.52 Build 21 August 2008
- (转帖)我的软件经历
- 第二日: asp.net中的公共函数写法
- Java连接数据库实例
- No Volume Control GStreamer plugin
- 没有规范过程的高效开发团队存在吗
- (转帖)和老同事的谈话:关于职业生涯以及MDA
- 欢迎你,欢迎我
- 将网页设为首页||加入收藏夹||代码
- 曾国藩家书之劝学篇 摘录1
- 曾国藩家书之劝学篇 摘录2
- 曾国藩家书之劝学篇 摘录3
- dynamic_cast Operator from MSDN