All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Ankhit Vivekananda <ankhit.vivekananda@biscotti.com>,
	alsa-devel@alsa-project.org
Subject: Re: print audio ring buffer in kernel space
Date: Thu, 29 Oct 2015 21:06:26 +0100	[thread overview]
Message-ID: <56327C42.6000202@ladisch.de> (raw)
In-Reply-To: <CACaQK7C7bH1wHomQyJLS=N1V+m5DeSus=4cjB=2WMv4B+3Np+Q@mail.gmail.com>

Ankhit Vivekananda wrote:
> I am trying to print the ring buffer used for DMA transfer using ALSA in
> kernel space. I was able to print the ring buffer in user space after
> calling the snd_pcm_readi() function. But, wanted to know as to which file
> I need to be looking at to print the hardware buffer in kernel space.

The driver typically does not access the buffer.  There is no such file.

(And why would you need it?  Do you suspect an error in the
implementation of snd_pcm_readi()?)


Regards,
Clemens

  reply	other threads:[~2015-10-29 20:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-29 18:03 print audio ring buffer in kernel space Ankhit Vivekananda
2015-10-29 20:06 ` Clemens Ladisch [this message]
2015-10-29 20:11   ` Ankhit Vivekananda

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=56327C42.6000202@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=ankhit.vivekananda@biscotti.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.