All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ciaccia <ciacciax@yahoo.com>
To: Michel Benoit <murpme@gmail.com>, alsa-devel@alsa-project.org
Subject: Re: alsa driver api
Date: Wed, 2 May 2007 10:56:18 -0700 (PDT)	[thread overview]
Message-ID: <99356.5221.qm@web31007.mail.mud.yahoo.com> (raw)

Hi Michel,
Maybe you are referring to my post. I always use alsa-lib to send data to the driver, I think it is the easiest way and preferred way.

Months ago I wanted to do the same (i.e. send data to the alsa-driver without alsa-lib) but then I understood this was not the right way. I'm not saying you cannot or should not try that, but from my experience (I spent a lot of time) it's not going to work.

The problem I had was that my system did not support shared objects, nor -ldl, so I could not user the "standard" alsa-lib (which usually require pthread, dl, an *.so). Then Takashi gave me a patch for that, and now I'm an happy "static" alsa-lib user.

Maybe one of the gurus (Takashi?) will give you some tips, but I think you really need a good reason for that.

Good luck, sorry for not helping you
Andrea

----- Original Message ----
From: Michel Benoit <murpme@gmail.com>
To: ciacciax@yahoo.com; alsa-devel@alsa-project.org
Sent: Wednesday, May 2, 2007 7:40:29 PM
Subject: alsa driver api

Hi

Does anyone have some code examples that show how to send pcm samples
directly to an alsa driver.  I'm (still) having trouble building/using
alsa-lib and I want to make sure that my driver works correctly. If I
understand correctly it is possible to send sound samples using the
alsa driver api only (no alsa-lib).

All I want to do for now is send a fixed sine wave to the driver. I
saw some code snippets that seemed to do just that in a recent email
on this list but it would help a lot if I could have a look at the
complete application.

Thanks,

Michel




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

             reply	other threads:[~2007-05-02 17:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-02 17:56 Ciaccia [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-05-02 17:40 alsa driver api Michel Benoit
2007-05-03  4:07 ` James Courtier-Dutton

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=99356.5221.qm@web31007.mail.mud.yahoo.com \
    --to=ciacciax@yahoo.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=murpme@gmail.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.