All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Watson <sdc695@yahoo.com>
To: alsa development <alsa-devel@lists.sourceforge.net>
Subject: I thought it would simple....
Date: Tue, 22 Jul 2003 23:54:49 -0700 (PDT)	[thread overview]
Message-ID: <20030723065449.40812.qmail@web21508.mail.yahoo.com> (raw)

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

             reply	other threads:[~2003-07-23  6:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-23  6:54 Tom Watson [this message]
2003-07-23 11:07 ` I thought it would simple Carlo Wood
2003-07-24  5:03   ` Tom Watson
2003-07-24 13:48     ` Takashi Iwai
2003-08-11 21:30       ` Tom Watson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030723065449.40812.qmail@web21508.mail.yahoo.com \
    --to=sdc695@yahoo.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=tsw@johana.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.