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

Commit 76e3d9b1 authored by Ramjee Singh's avatar Ramjee Singh Committed by Gagan Malvi
Browse files

ALSA: compress: Add ioctl declaration for gapless



-Add ioctl declaration of SNDRV_COMPRESS_SET_NEXT_TRACK_PARAM

Change-Id: I1eba1b96d099bc3a2f5b629bc4157cbf30400741
Signed-off-by: default avatarRamjee Singh <ramjee@codeaurora.org>
Signed-off-by: default avatarVaisakh Murali <vaisakhmurali@gmail.com>
parent 6a008521
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -160,6 +160,8 @@ struct snd_compr_metadata {
 * and the buffers currently with DSP
 * SNDRV_COMPRESS_DRAIN: Play till end of buffers and stop after that
 * SNDRV_COMPRESS_IOCTL_VERSION: Query the API version
 * SNDRV_COMPRESS_SET_NEXT_TRACK_PARAM: send codec specific data for the next
 * track in gapless
 */
#define SNDRV_COMPRESS_IOCTL_VERSION	_IOR('C', 0x00, int)
#define SNDRV_COMPRESS_GET_CAPS		_IOWR('C', 0x10, struct snd_compr_caps)
@@ -180,6 +182,9 @@ struct snd_compr_metadata {
#define SNDRV_COMPRESS_DRAIN		_IO('C', 0x34)
#define SNDRV_COMPRESS_NEXT_TRACK	_IO('C', 0x35)
#define SNDRV_COMPRESS_PARTIAL_DRAIN	_IO('C', 0x36)
#define SNDRV_COMPRESS_PARTIAL_DRAIN	_IO('C', 0x36)
#define SNDRV_COMPRESS_SET_NEXT_TRACK_PARAM\
					_IOW('C', 0x80, union snd_codec_options)
/*
 * TODO
 * 1. add mmap support