Quantcast
Channel: bugs, errors - openFrameworks
Viewing all articles
Browse latest Browse all 636

Multiple usb audio outputs on Raspberry Pi 2

$
0
0

@Elaye wrote:

Hello,
I have an openFrameworks app and two usb audio sound cards to which I send two different sounds to play. It works well on Mac OS X but doesn't work on the Raspberry Pi 2, and when I set the device to output to the second sound card I have the following error:

[notice ] ofRtAudioSoundStream: device 0 hw:USB PnP Sound Device,0
[notice ] ofRtAudioSoundStream: ----* default ----*
[notice ] ofRtAudioSoundStream: maximum output channels 2
[notice ] ofRtAudioSoundStream: maximum input channels 1
[notice ] ofRtAudioSoundStream: -----------------------------------------
[notice ] ofRtAudioSoundStream: device 1 hw:USB PnP Sound Device,0
[notice ] ofRtAudioSoundStream: maximum output channels 2
[notice ] ofRtAudioSoundStream: maximum input channels 1
[notice ] ofRtAudioSoundStream: -----------------------------------------
[notice ] ofRtAudioSoundStream: device 2 hw:bcm2835 ALSA,0
[notice ] ofRtAudioSoundStream: maximum output channels 2
[notice ] ofRtAudioSoundStream: maximum input channels 0
[notice ] ofRtAudioSoundStream: -----------------------------------------
[notice ] ofRtAudioSoundStream: device 3 hw:bcm2835 ALSA,1
[notice ] ofRtAudioSoundStream: maximum output channels 2
[notice ] ofRtAudioSoundStream: maximum input channels 0
[notice ] ofRtAudioSoundStream: -----------------------------------------
[notice ] ofRtAudioSoundStream: device 4 default
[notice ] ofRtAudioSoundStream: maximum output channels 10000
[notice ] ofRtAudioSoundStream: maximum input channels 10000
[notice ] ofRtAudioSoundStream: -----------------------------------------
Choose a device for output 1: 0
Choose a device for output 2: 1

RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:0,0), Device or resource busy.

ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave

RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (default), Device or resource busy.


RtApiAlsa::probeDeviceOpen: pcm device (hw:0,0) won't open for output.

A weird thing is that it seems to always select the hw:0,0 device. Have you any ideas of what might cause this?
Thanks in advance!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 636

Trending Articles