Compress offload: DSP buffer timestamp passing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux