All of lore.kernel.org
 help / color / mirror / Atom feed
* Quattro woes or: What does "SNDRV_PCM_IOCTL_START failed" mean?
@ 2003-03-10 22:33 Frank Barknecht
  2003-03-11 10:02 ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Frank Barknecht @ 2003-03-10 22:33 UTC (permalink / raw)
  To: alsa-devel

Hallo,

I have to apologize first for asking a probably totally ignorant
question, but I really have no clue of ALSA-programming :(

But I need/want to get Pd running on my Laptop with a Quattro USB for
the LAD conference next weekend, and this requires, that I somehow
debug what goes wrong in Pd with ALSA.

I keep getting the following error, when starting Pd in ALSA mode with
"hw:0,0" or any other ALSA device (like the ones Patrick set up in his
.asoundrc on alsa-project.org):

ALSA lib pcm_hw:454(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed:
Broken pipe

Responsible for ALSA in Pd is the file s_linux.c, that can be seen
at our sourceforge-CVS: 

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pure-data/pd/src/s_linux.c?rev=1.1.1.2.2.7&only_with_tag=devel_0_36&content-type=text/vnd.viewcvs-markup

It obviously fails somewhere around:
    
    if (outchans)
    {
	err = snd_pcm_start(alsa_device.outhandle);
	check_error(err, "snd_pcm_start");
    }

Now, what makes this the real problem, is that the same code works on
another machine just fine, all with alsa-0.9rc7 and the same binary
and the same source.

Because of that I somehow doubt (but cannot judge it) that the reason
is a wrong handling of the asound API in Pd's s_linux.c, but something
else, something machine dependent. Also on both machines, ALSA in
general is working fine, I can play music with alsaplayer and all
that.

So now I'm quite clueless with this. Maybe someone here can shed a
light on the question: 
 What are typical reasons for snd_pcm_start failing this way?

Thank you in advance.

Regards,
-- 
 Frank Barknecht                               _ ______footils.org__


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-03-11 18:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-10 22:33 Quattro woes or: What does "SNDRV_PCM_IOCTL_START failed" mean? Frank Barknecht
2003-03-11 10:02 ` Takashi Iwai
2003-03-11 10:32   ` Frank Barknecht
2003-03-11 12:55     ` Takashi Iwai
2003-03-11 18:02       ` Frank Barknecht
2003-03-11 18:44         ` Paul Davis
     [not found]         ` <20030311184050.5D539C6F38@mailproxy1.netcologne.de>
2003-03-11 18:57           ` Frank Barknecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.