我输入了"make“输出
[chuck build]: please use one of the following configurations:
make linux-alsa, make linux-jack, make linux-pulse,
make osx, make osx-ub, make cygwin, or make win32
第一,如何在其中作出选择?
我试过了,这是错误
使linux-alsa
g++ -I. -Ilo -O3 -D__LINUX_ALSA__ -D__PLATFORM_LINUX__ -O3 -fno-strict-alias
在这里,我打印我的设备信息。已连接廉价的USB音频设备。 for i in range(p.get_device_count()):
dev = p.get_device_info_by_index(i)
print((i, dev['name'], dev['maxInputChannels']))
(0, 'bcm2835 ALSA: - (hw:0,0)', 0)
(1, 'bcm2835 ALSA: IEC958/HDMI(hw:0,1)', 0)
(2, 'TP6920: USB Audi
我无法在GUI和非GUI终端中使用morse实用程序:
# echo word | morse
Could not initialize audio: Connection refused
Can't access speaker.
为什么有此错误,以及如何将morse与alsamixer结合使用?
来自/usr/share/doc/morse/README:
Currently supported devices:
X11: The X11 window system. (Warning: not all X11 implementations handle
我试图运行我的二进制的虚拟板的ARM多功能轻量级板在Qemu。我使用这个命令来像这样运行它
qemu-system-arm -M versatilepb -m 128M -nographic -kernel test.bin
test.bin is my program. a really a simple program that writes to tty. but it gives me error that
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:474
在我使用Jack之后,PulseAudio输出和输入将被一个虚拟设备所取代。我试图杀死PulseAudio并重新加载Alsa,但我唯一可以再次使用基于Alsa的应用程序的方法是重新启动。我知道一定有办法解决问题而不重新启动。我在多个Linux发行版中遇到了这个问题,包括Ubuntu和Fedora 19。
service alsa-utils restart的输出:
Redirecting to /bin/systemctl restart alsa-utils.service
Failed to issue method call: Unit alsa-utils.service faile
我在安装alsa驱动程序方面有问题。
以下是编译日志:
In file included from /home/aleks/alsa-driver-1.0.25/firewire/speakers.c:5:0:
/home/aleks/alsa-driver-1.0.25/firewire/../alsa-kernel/firewire/speakers.c: В функции «fwspk_card_free»:
/home/aleks/alsa-driver-1.0.25/firewire/../alsa-kernel/firewire/speakers.c:664:2: ошибка: