小编Nat*_*ate的帖子

ALSA 权限

大约 3 小时前,我特立独行的机器上一切正常。然后出现了一个问题。

我运行了命令 chown -R someuser:somegroup .*,在我注意到 之前.,我点击了Enter,这个错误使我的系统someuser在我可以停止之前已经拥有了一半。

我设法让一切回到根(即/sbin/etc/lib,有些东西下/usr)。我apt-get --reinstall install编写了一堆软件包,包括 ALSA。

不幸的是,ALSA 不适用于非 root 用户。也就是说,sudo aplay /usr/share/sounds/alsa/Noise.wav工作正常,但作为一个非特权用户,它吐出来

"cannot find card '0'"`
Run Code Online (Sandbox Code Playgroud)

尽管将我的用户添加到音频组可能会奏效,但我在很多地方都读到过这不再是解决这些问题的方法。

所以这给我留下了一个问题 - 我应该在哪里寻找我的软管权限?

permissions alsa

10
推荐指数
1
解决办法
2万
查看次数

如何从我的麦克风输入录音?

我的麦克风插孔中插入了音频输入。在 中alsamixer,当我取消静音并放大mic输入时,我可以从扬声器中听到此音频。但是,运行arecord -d 5 foo.wavaplay foo.wav导致一个空文件;通过大胆录制时相同 - 空。

为什么会发生这种情况?如何记录此输入?

arecord -L 产生以下内容,如果这有帮助的话:

default
    Playback/recording through the PulseAudio sound server
pulse
    Playback/recording through the PulseAudio sound server
front:CARD=nForce2,DEV=0
    NVidia nForce2, NVidia nForce2
    Front speakers
surround40:CARD=nForce2,DEV=0
    NVidia nForce2, NVidia nForce2
    4.0 Surround output to Front and Rear speakers
surround41:CARD=nForce2,DEV=0
    NVidia nForce2, NVidia nForce2
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=nForce2,DEV=0
    NVidia nForce2, NVidia nForce2
    5.0 Surround output to Front, Center and …
Run Code Online (Sandbox Code Playgroud)

sound microphone 11.10

5
推荐指数
1
解决办法
2万
查看次数

标签 统计

11.10 ×1

alsa ×1

microphone ×1

permissions ×1

sound ×1