[RFC PATCH v2 1/6] ALSA: compress: reserve space in snd_compr_metadata.key for private usage
Shengjiu Wang
shengjiu.wang at nxp.com
Fri Aug 16 20:42:34 AEST 2024
Reserve the key value which is larger than 0x80000000 for driver
private usage. Driver may define its own key values which are not
public in ALSA header
Signed-off-by: Shengjiu Wang <shengjiu.wang at nxp.com>
---
include/uapi/sound/compress_offload.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/sound/compress_offload.h b/include/uapi/sound/compress_offload.h
index 98772b0cbcb7..7e9190538df2 100644
--- a/include/uapi/sound/compress_offload.h
+++ b/include/uapi/sound/compress_offload.h
@@ -120,7 +120,7 @@ enum sndrv_compress_encoder {
/**
* struct snd_compr_metadata - compressed stream metadata
- * @key: key id
+ * @key: key id, value larger than 0x80000000 reserved for driver private usage
* @value: key value
*/
struct snd_compr_metadata {
--
2.34.1
More information about the Linuxppc-dev
mailing list