Showing the changes to include/uapi (3 of 228 files). Show all
Unified · Split
| @@ -317,12 +317,22 @@ struct snd_enc_generic { · 316 unmodified lines | |||
| 317 | __s32 reserved[15]; /* Can be used for SND_AUDIOCODEC_BESPOKE */ | 317 | __s32 reserved[15]; /* Can be used for SND_AUDIOCODEC_BESPOKE */ |
| 318 | } __attribute__((packed, aligned(4))); | 318 | } __attribute__((packed, aligned(4))); |
| 319 | 319 | ||
| 320 | struct snd_dec_flac { | ||
| 321 | __u16 sample_size; | ||
| 322 | __u16 min_blk_size; | ||
| 323 | __u16 max_blk_size; | ||
| 324 | __u16 min_frame_size; | ||
| 325 | __u16 max_frame_size; | ||
| 326 | __u16 reserved; | ||
| 327 | } __attribute__((packed, aligned(4))); | ||
| 328 | |||
| 320 | union snd_codec_options { | 329 | union snd_codec_options { |
| 321 | struct snd_enc_wma wma; | 330 | struct snd_enc_wma wma; |
| 322 | struct snd_enc_vorbis vorbis; | 331 | struct snd_enc_vorbis vorbis; |
| 323 | struct snd_enc_real real; | 332 | struct snd_enc_real real; |
| 324 | struct snd_enc_flac flac; | 333 | struct snd_enc_flac flac; |
| 325 | struct snd_enc_generic generic; | 334 | struct snd_enc_generic generic; |
| 335 | struct snd_dec_flac flac_d; | ||
| 326 | } __attribute__((packed, aligned(4))); | 336 | } __attribute__((packed, aligned(4))); |
| 327 | 337 | ||
| 328 | /** struct snd_codec_desc - description of codec capabilities | 338 | /** struct snd_codec_desc - description of codec capabilities |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | |||
| 26 | 26 | ||
| 27 | /* SOF ABI version major, minor and patch numbers */ | 27 | /* SOF ABI version major, minor and patch numbers */ |
| 28 | #define SOF_ABI_MAJOR 3 | 28 | #define SOF_ABI_MAJOR 3 |
| 29 | #define SOF_ABI_MINOR 10 | 29 | #define SOF_ABI_MINOR 11 |
| 30 | #define SOF_ABI_PATCH 0 | 30 | #define SOF_ABI_PATCH 0 |
| 31 | 31 | ||
| 32 | /* SOF ABI version number. Format within 32bit word is MMmmmppp */ | 32 | /* SOF ABI version number. Format within 32bit word is MMmmmppp */ |
| @@ -111,7 +111,14 @@ · 110 unmodified lines | |||
| 111 | /* TODO: Add SAI tokens */ | 111 | /* TODO: Add SAI tokens */ |
| 112 | 112 | ||
| 113 | /* ESAI */ | 113 | /* ESAI */ |
| 114 | #define SOF_TKN_IMX_ESAI_FIRST_TOKEN 1100 | 114 | #define SOF_TKN_IMX_ESAI_MCLK_ID 1100 |
| 115 | /* TODO: Add ESAI tokens */ | 115 | |
| 116 | /* Stream */ | ||
| 117 | #define SOF_TKN_STREAM_PLAYBACK_COMPATIBLE_D0I3 1200 | ||
| 118 | #define SOF_TKN_STREAM_CAPTURE_COMPATIBLE_D0I3 1201 | ||
| 119 | |||
| 120 | /* Led control for mute switches */ | ||
| 121 | #define SOF_TKN_MUTE_LED_USE 1300 | ||
| 122 | #define SOF_TKN_MUTE_LED_DIRECTION 1301 | ||
| 116 | 123 | ||
| 117 | #endif | 124 | #endif |