All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Miartus <amiartus@de.adit-jv.com>
To: patch@alsa-project.org
Cc: alsa-devel@alsa-project.org
Subject: [PATCH 0/2] add pcm_file support in MMAP read access mode
Date: Thu, 23 May 2019 15:00:38 +0200	[thread overview]
Message-ID: <1558616440-21044-1-git-send-email-amiartus@de.adit-jv.com> (raw)

adds support for overwritting input buffer in MMAP access mode for
in pcm_file plugin

new api pcm_fast_ops callback mmap_begin is introduced to ease the
operation needed to overwrite mmaped buffer. this allows to modify
only the next continuous part of data in ring buffer.

Adam Miartus (2):
  pcm: add mmap_begin callback to snd_pcm_fast_ops_t api
  pcm_file: add infile read support for mmap mode

 src/pcm/pcm.c       |  6 ++++++
 src/pcm/pcm_file.c  | 31 +++++++++++++++++++++++++++++++
 src/pcm/pcm_local.h |  1 +
 3 files changed, 38 insertions(+)

-- 
2.7.4

             reply	other threads:[~2019-05-23 13:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-23 13:00 Adam Miartus [this message]
2019-05-23 13:00 ` [PATCH 1/2] pcm: add mmap_begin callback to snd_pcm_fast_ops_t api Adam Miartus
2019-05-23 13:00 ` [PATCH 2/2] pcm_file: add infile read support for mmap mode Adam Miartus
2019-05-24  9:17 ` [ALSA patch] [PATCH 0/2] add pcm_file support in MMAP read access mode Takashi Iwai

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=1558616440-21044-1-git-send-email-amiartus@de.adit-jv.com \
    --to=amiartus@de.adit-jv.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=patch@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 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.