public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
* Simple question.
@ 2006-01-03 21:42 LWATCDR
  2006-01-03 22:24 ` James Courtier-Dutton
  0 siblings, 1 reply; 2+ messages in thread
From: LWATCDR @ 2006-01-03 21:42 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 579 bytes --]

I am just starting to work with Alsa I compiled a test program from one of
the tutorials and I am getting this error message.
Unknown Error 126.
Does anyone know what error 126 is?
I am using "plughw:0,0" as the device name.
and this is the segment of code that generates the error.

for (i = 0; i < 10; ++i) {
if ((err = snd_pcm_writei (playback_handle, buf, 128)) != 128) {
    fprintf (stderr, "write to audio interface failed (%s)\n", snd_strerror
(err));
    exit (1);
    }
}


I am running Suse 9.3+kde 3.5

I hope this is the correct list to ask this.

[-- Attachment #2: Type: text/html, Size: 685 bytes --]

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

end of thread, other threads:[~2006-01-03 22:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-03 21:42 Simple question LWATCDR
2006-01-03 22:24 ` James Courtier-Dutton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox