Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c368be4 authored by Banajit Goswami's avatar Banajit Goswami
Browse files

ALSA: compress: add timestamp support for compress audio



Add timestamp field to compress structure which indicates when
audio sample has been captured or needs to be rendered.

Change-Id: Ie61170c6645c71207e7df1c7176e0750e47590f8
Signed-off-by: default avatarGopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
parent 475a66d8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -70,6 +70,7 @@ struct snd_compr_tstamp {
	__u32 pcm_frames;
	__u32 pcm_io_frames;
	__u32 sampling_rate;
	uint64_t timestamp;
} __attribute__((packed, aligned(4)));

/**