Re: [PATCH v2] ALSA: hda/ca0132 - Update latency based on DSP state.

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

 




The DSP in the CA0132 codec adds a variable latency to audio depending
on what processing is being done.  Add a new patch op to return that
latency for capture and playback streams.  The latency is determined
by which blocks are enabled and knowing how much latency is added by
each block.

Signed-off-by: Dylan Reid <dgreid@xxxxxxxxxxxx>

Thanks, applied.

This conflicts with the audio timestamp stuff I contributed last year.
If the hardware supports a WALLCLK, and HDA does, the timestamp is just a read of the counter plus a translation to ns. If it doesn't, the timestamp corresponds to the delay. If you modify the definition of the delay then the timestamp will be off on some platforms.
-Pierre
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel




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

  Powered by Linux