alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Paul Pawlowski <mrarmdev@gmail.com>
To: alsa-devel@alsa-project.org
Subject: What to do when a device clears the buffer in the start trigger?
Date: Wed, 31 Jul 2019 19:48:13 +0200	[thread overview]
Message-ID: <CAKSqxP_po3DRQvhqb-VrwD_NitzSRa0a+28NNA8SajUaZN+qbQ@mail.gmail.com> (raw)

Hello,
I have a device which clears the DMA buffer when I command it to start the
playback. How can this be workarounded?

I found the SNDRV_PCM_INFO_DOUBLE flag, but it doesn't seem that it changes
alsa/alsa-lib behaviour. I wasn't able to find any drivers which shared
this quirk.
I'd like to avoid double buffering if possible, as once the stream is
actually started it's not required.

Thank you,
Paul Pawlowski

             reply	other threads:[~2019-07-31 17:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-31 17:48 Paul Pawlowski [this message]
2019-08-06 10:57 ` What to do when a device clears the buffer in the start trigger? Takashi Iwai
2019-08-19 16:39   ` Paul Pawlowski
2019-08-22 14:13     ` 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=CAKSqxP_po3DRQvhqb-VrwD_NitzSRa0a+28NNA8SajUaZN+qbQ@mail.gmail.com \
    --to=mrarmdev@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;
as well as URLs for NNTP newsgroup(s).