Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Guilherme Longo <grlongo.ireland@gmail.com>
To: alsa-devel@alsa-project.org
Subject: Controling wave amplitude using alsa api !! (pcm interface ???????)
Date: Tue, 04 Aug 2009 13:38:03 -0300	[thread overview]
Message-ID: <4A7863EB.5090207@gmail.com> (raw)
In-Reply-To: <eedb5540908040818j3ba586ceq124016bb7eb9d7b5@mail.gmail.com>

Hi all!

Mates, I am following the example PCM.C that I found at alsa web site. 
its a sine wave generator.
I am looking for a control that alsa provides to control the amplitude 
of the wave.

As I could found so for, there is just frequency control... I didn't 
find any amplitude control.

* I don't want to control the volume using alsamixer or even my sound... 
I want to generate a wave with predefined amplitude.

Does anyone could give me a little help??

Thanks a lot!

  reply	other threads:[~2009-08-04 16:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04 15:18 [PATCH 3/3] ASoC: add machine driver for i.mx27_visstrim_m10 board javier Martin
2009-08-04 16:38 ` Guilherme Longo [this message]
2009-08-04 17:08   ` Controling wave amplitude using alsa api !! (pcm interface ???????) John L. Utz III
2009-08-05 11:35   ` Guilherme Longo
2009-08-04 19:54 ` [PATCH 3/3] ASoC: add machine driver for i.mx27_visstrim_m10 board Mark Brown

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=4A7863EB.5090207@gmail.com \
    --to=grlongo.ireland@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox