Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: <jonas.rabbe@nokia.com>
To: alsa-devel@alsa-project.org
Subject: PCM direct access functions for recording
Date: Mon, 10 Jan 2011 05:08:11 +0000	[thread overview]
Message-ID: <C950D15B.2C65%jonas.rabbe@nokia.com> (raw)

Hi,

I am trying to use the PCM direct access  (MMAP) functions for recording sound from an ALSA source, and reading the documentation has brought up a few questions. The documentation page for the mmap function [1] and the PCM test demo [2] both concern themselves with writing to the ring buffer. I was wondering if there was a similar example for reading from the ring buffer.

At this point I have been searching through the alsa-devel archives, alsa-project.org, and anything else google could throw at me, but it seems my google-fu is not as strong as I had thought. Any pointers and links concerning my use case would be most appreciated.

Thank you,

Jonas Rabbe
Software Engineer // Qt Multimedia / Brisbane / Australia

[1] http://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m___direct.html
[2] http://www.alsa-project.org/alsa-doc/alsa-lib/_2test_2pcm_8c-example.html

                 reply	other threads:[~2011-01-10  5:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=C950D15B.2C65%jonas.rabbe@nokia.com \
    --to=jonas.rabbe@nokia.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