All of lore.kernel.org
 help / color / mirror / Atom feed
* I thought it would simple....
@ 2003-07-23  6:54 Tom Watson
  2003-07-23 11:07 ` Carlo Wood
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Watson @ 2003-07-23  6:54 UTC (permalink / raw)
  To: alsa development

I am attempting to write a "simple" audio playback program.  Well, I
thought it would be, but...
Somehow (thru strace) the 'snd_pcm_writei' call goes and eventually
does a system 'poll' call, but it doesn't return indicating that a
write is OK to do.
I've used similar parameters in 'aplay' and I see that it works.

The basis of the program I'm writing is the one described in _A
Tutorial on Using the ALSA API_
(http://equalarea.com/paul/alsa-audio.html), section entitled "A
Minimal Playback Program".

One thing I've noted:  Some of the data printed out by "snd_pcm_dump"
is different between my program and 'aplay'.  I suspect that there is a
clue somewhere, but what is the "magic"??

If necessary, I can provide the 'strace' or the output from
'snd_pcm_dump', but in the interest of brevity...

Any "great clue" would be appreciated.

Thanks.

=====
-- 
Tom Watson
tsw@johana.com

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

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

end of thread, other threads:[~2003-08-11 21:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-23  6:54 I thought it would simple Tom Watson
2003-07-23 11:07 ` Carlo Wood
2003-07-24  5:03   ` Tom Watson
2003-07-24 13:48     ` Takashi Iwai
2003-08-11 21:30       ` Tom Watson

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.