alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Tim Sheridan <tghs@tghs.net>
To: alsa-devel@alsa-project.org
Subject: Compress offload: DSP buffer timestamp passing
Date: Wed, 3 Feb 2016 11:49:17 +0000	[thread overview]
Message-ID: <CAELVyQdcVoTV7iGxA=jJGQToobpePB-Fk-scvUbOFBf36X2B+Q@mail.gmail.com> (raw)

Hi,

I've been working on the Imagination Technologies AXD (audio DSP)
compress offload driver. One of the features of the DSP is scheduled
playback of audio using timestamps (that are obtained by an
application from userspace). A current problem with the compress
offload API is that there's no "blessed" way to get these timestamps
from tinycompress through to our compress offload driver.

Currently, I've added a SNDRV_COMPRESS_ENCODER_PTS value to the
sndrv_compress_encoder enum, and exposed this with an API in
tinycompress, handling this in my driver to pass it to the DSP. Does
this sound like a reasonable approach to go about adding compress
offload API support for this? Or is there some other part of the ALSA
API which would be more appropriate to use instead of this?

Cheers,
Tim
--
To unsubscribe from this list: send the line "unsubscribe alsa-devel" in

             reply	other threads:[~2016-02-03 11:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-03 11:49 Tim Sheridan [this message]
2016-02-04 15:38 ` Compress offload: DSP buffer timestamp passing Pierre-Louis Bossart
2016-02-22 16:55   ` Tim Sheridan

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='CAELVyQdcVoTV7iGxA=jJGQToobpePB-Fk-scvUbOFBf36X2B+Q@mail.gmail.com' \
    --to=tghs@tghs.net \
    --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).