ALSA - SND_PCM_STREAM_PLAYBACK issues

Discussion about Parallella (and Epiphany) Software Development

Moderators: amylaar, jeremybennett, simoncook

ALSA - SND_PCM_STREAM_PLAYBACK issues

Postby AndyC » Thu Aug 14, 2014 9:57 am

Hi Guys,

I know a couple of you have been using alsa so maybe you could help me with this.

I have a iconnectmidi4 interface attached via usb, audio playback and capture work fine as long as you don't try to do both together!

If a SND_PCM_STREAM_CAPTURE stream is created the playback stream stops producing audio, when the SND_PCM_STREAM_CAPTURE is closed the playback magically starts again.

I have tested this interface on another linux box and it doesn't act like this, it works properly.

Anyone any ideas?

Cheers

Andy
AndyC
 
Posts: 184
Joined: Fri Jun 27, 2014 5:46 pm

Re: ALSA - SND_PCM_STREAM_PLAYBACK issues

Postby AndyC » Thu Aug 14, 2014 10:38 am

Ok, just tried it with another usb interface (Roland DUO-Capture EX) with exactly the same problem.
AndyC
 
Posts: 184
Joined: Fri Jun 27, 2014 5:46 pm

Re: ALSA - SND_PCM_STREAM_PLAYBACK issues

Postby AndyC » Thu Aug 14, 2014 12:41 pm

I just connected up a USB hub so I could connect the DUO-Capture and iConnectMIDI4 at the same time to test capture from on and playback on the other, this worked.

Then I tested capture and playback with the iConnectMIDI4 and it worked!

So I disconnected the DUO-Capture to see if that affected it and it didn't.

So using a USB hub has magically fixed the issue!

Very strange!
AndyC
 
Posts: 184
Joined: Fri Jun 27, 2014 5:46 pm


Return to Programming Q & A

Who is online

Users browsing this forum: No registered users and 11 guests

cron