Loading include/uapi/sound/compress_offload.h +6 −0 Original line number Diff line number Diff line Loading @@ -185,6 +185,8 @@ struct snd_compr_metadata { * SNDRV_COMPRESS_STOP: stop a running stream, discarding ring buffer content * and the buffers currently with DSP * SNDRV_COMPRESS_DRAIN: Play till end of buffers and stop after that * SNDRV_COMPRESS_SET_NEXT_TRACK_PARAM: send codec specific data for the next * track in gapless * SNDRV_COMPRESS_IOCTL_VERSION: Query the API version */ #define SNDRV_COMPRESS_IOCTL_VERSION _IOR('C', 0x00, int) Loading @@ -206,6 +208,10 @@ 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) #ifdef CONFIG_AUDIO_QGKI #define SNDRV_COMPRESS_SET_NEXT_TRACK_PARAM\ _IOW('C', 0x80, union snd_codec_options) #endif /* * TODO * 1. add mmap support Loading Loading
include/uapi/sound/compress_offload.h +6 −0 Original line number Diff line number Diff line Loading @@ -185,6 +185,8 @@ struct snd_compr_metadata { * SNDRV_COMPRESS_STOP: stop a running stream, discarding ring buffer content * and the buffers currently with DSP * SNDRV_COMPRESS_DRAIN: Play till end of buffers and stop after that * SNDRV_COMPRESS_SET_NEXT_TRACK_PARAM: send codec specific data for the next * track in gapless * SNDRV_COMPRESS_IOCTL_VERSION: Query the API version */ #define SNDRV_COMPRESS_IOCTL_VERSION _IOR('C', 0x00, int) Loading @@ -206,6 +208,10 @@ 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) #ifdef CONFIG_AUDIO_QGKI #define SNDRV_COMPRESS_SET_NEXT_TRACK_PARAM\ _IOW('C', 0x80, union snd_codec_options) #endif /* * TODO * 1. add mmap support Loading