Doxygen Book
gsttensor_converter_media_info_audio.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-2.1-only */
16 #ifndef __GST_TENSOR_CONVERTER_MEDIA_INFO_AUDIO_H__
17 #define __GST_TENSOR_CONVERTER_MEDIA_INFO_AUDIO_H__
18 
19 #ifdef NO_AUDIO
20 #error This header is not supported if NO_AUDIO is defined
21 #endif
22 
23 #include <gst/audio/audio-info.h>
24 
28 #define AUDIO_CAPS_STR \
29  GST_AUDIO_CAPS_MAKE ("{ S8, U8, S16LE, S16BE, U16LE, U16BE, S32LE, S32BE, U32LE, U32BE, F32LE, F32BE, F64LE, F64BE }") \
30  ", layout = (string) interleaved"
31 
32 #define append_audio_caps_template(caps) \
33  gst_caps_append (caps, gst_caps_from_string (AUDIO_CAPS_STR))
34 
35 #define is_audio_supported(...) TRUE
36 #endif /* __GST_TENSOR_CONVERTER_MEDIA_INFO_AUDIO_H__ */