|  |  |  | GStreamer Base Plugins 0.10 Library Reference Manual |  | 
|---|
| gstaudiogstaudio — a support library for audio elements | 
#include <gst/audio/audio.h> enum GstAudioFieldFlag; int gst_audio_frame_byte_size (GstPad *pad); long gst_audio_frame_length (GstPad *pad, GstBuffer *buf); GstClockTime gst_audio_duration_from_pad_buffer (GstPad *pad, GstBuffer *buf); gboolean gst_audio_is_buffer_framed (GstPad *pad, GstBuffer *buf); void gst_audio_structure_set_int (GstStructure *structure, GstAudioFieldFlag flag);
typedef enum {
  GST_AUDIO_FIELD_RATE          = (1 << 0),
  GST_AUDIO_FIELD_CHANNELS      = (1 << 1),
  GST_AUDIO_FIELD_ENDIANNESS    = (1 << 2),
  GST_AUDIO_FIELD_WIDTH         = (1 << 3),
  GST_AUDIO_FIELD_DEPTH         = (1 << 4),
  GST_AUDIO_FIELD_SIGNED        = (1 << 5),
} GstAudioFieldFlag;
long gst_audio_frame_length (GstPad *pad, GstBuffer *buf);
| pad: | |
| buf: | |
| Returns : | 
GstClockTime gst_audio_duration_from_pad_buffer (GstPad *pad, GstBuffer *buf);
| pad: | |
| buf: | |
| Returns : | 
gboolean gst_audio_is_buffer_framed (GstPad *pad, GstBuffer *buf);
| pad: | |
| buf: | |
| Returns : | 
void gst_audio_structure_set_int (GstStructure *structure, GstAudioFieldFlag flag);
| structure: | |
| flag: | 
| << Audio Library | gstaudiomixerutils >> |