mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 06:01:04 +00:00
audiodecoder: add baseclass _CAST macro
This commit is contained in:
parent
93e7bb6759
commit
5a0fff76f3
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ G_BEGIN_DECLS
|
|||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUDIO_DECODER))
|
||||
#define GST_IS_AUDIO_DECODER_CLASS(obj) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AUDIO_DECODER))
|
||||
#define GST_AUDIO_DECODER_CAST(obj) \
|
||||
((GstAudioDecoder *)(obj))
|
||||
|
||||
/**
|
||||
* GST_AUDIO_DECODER_SINK_NAME:
|
||||
|
|
Loading…
Reference in a new issue