Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Pietryka <martin.pietryka@streamunlimited.com>
To: alsa-devel@alsa-project.org
Subject: DSD: Playing silence before and after actual audio data
Date: Thu, 15 Oct 2015 15:01:56 +0200	[thread overview]
Message-ID: <561FA3C4.8040205@streamunlimited.com> (raw)

Hi guys,

I'm trying to figure out the best way to insert ~40ms worth of silence 
pattern before and after playing back DSD data.

There seems to be support inside ALSA for a DSD silence pattern, but as 
far as I have seen it's only used when an underrun might occur 
(silence_threshold, silence_size).

Is there some possibility inside ALSA to basically insert silence before 
and after playback, or how hard would it be to implement something like 
this? I have looked a bit for myself and for me it seems that the 
modifications needed inside ALSA to achieve this feature are 
substantial, but of course I also might have missed something.

Martin

             reply	other threads:[~2015-10-15 13:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-15 13:01 Martin Pietryka [this message]
2015-10-15 13:13 ` DSD: Playing silence before and after actual audio data Alexander E. Patrakov

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=561FA3C4.8040205@streamunlimited.com \
    --to=martin.pietryka@streamunlimited.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