[igt-dev] [PATCH i-g-t] lib/igt_audio: use double instead of int16_t

Arkadiusz Hiler arkadiusz.hiler at intel.com
Wed May 15 13:36:26 UTC 2019


On Tue, May 14, 2019 at 11:15:48AM +0300, Simon Ser wrote:
> In order to be able to generate S32_LE signals, we need a higher precision than
> S16_LE. Change the signal generation code to use double instead of int16_t and
> introduce a new helper to fill a buffer with S16_LE samples. We already use
> arrays of doubles elsewhere (see audio_signal_detect). Similar format-specific
> helpers will be added for S32_LE in the future.
> 
> Signed-off-by: Simon Ser <simon.ser at intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>

Missing shards due to a Jenkin's hiccup. I'll requeued them.


More information about the igt-dev mailing list