如何启用脉冲设备以允许使用 portaudio 进行录音
我目前正在编写在 portaudio 框架上录制语音 bqsed 的代码。目前,我无法使其工作,并且出现以下错误代码。
0: /dev/dsp An error occured while using the portaudio stream Error number: -10000 Error message: PortAudio not initialized
我认为我的问题可能与错误的音频源有关,该源不是脉冲音频设备。有谁可以让我知道如何设置脉冲设备,以便允许端口音频访问它而不是 /dev/dsp
I'm currently working on a code to record voice bqsed on portaudio framework. For the moment, I can't make it works and I have the error code below.
0: /dev/dsp An error occured while using the portaudio stream Error number: -10000 Error message: PortAudio not initialized
I think that my issue is probably linked to a bad audio src which is not a pulse audio device. Is anyone can let me know how to setup a pulse device in order to allow port audio to access to it instead of /dev/dsp
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在执行您想要执行的其他操作之前,您是否调用了函数
Pa_Initialize()
?Did you call the function
Pa_Initialize()
before doing whatever else you were trying to do?