Class

AgsAudioGstreamerFile

Description

class AgsAudio.GstreamerFile : GObject.Object
  implements Ags.Connectable, AgsAudio.SoundResource {
  flags: guint,
  connectable_flags: AgsConnectableFlags,
  obj_mutex: GRecMutex,
  uuid: AgsUUID*,
  filename: gchar*,
  audio_channels: guint,
  audio_channel_written: gint64*,
  samplerate: guint,
  buffer_size: guint,
  format: AgsSoundcardFormat,
  offset: guint64,
  buffer_offset: guint64,
  full_buffer: void*,
  buffer: void*,
  pointer: guchar*,
  current: guchar*,
  length: gsize,
  read_pipeline: GstElement*,
  read_pipeline_running: gboolean,
  write_pipeline: GstElement*,
  write_pipeline_running: gboolean,
  write_pipeline_need_data: gboolean,
  playbin: GstElement*,
  video_sink: GstElement*,
  audio_sink: GstElement*,
  text_sink: GstElement*,
  encoding_profile: GstEncodingProfile*,
  rw_video_app_src: GstElement*,
  rw_audio_app_src: GstElement*,
  rw_text_app_src: GstElement*,
  rw_audio_tee: GstElement*,
  rw_video_file_sink_queue: GstElement*,
  rw_audio_file_sink_queue: GstElement*,
  rw_text_file_sink_queue: GstElement*,
  rw_audio_convert: GstElement*,
  rw_audio_resample: GstElement*,
  rw_audio_mixer: GstElement*,
  rw_file_encoder: GstElement*,
  rw_file_sink: GstElement*,
  rw_audio_app_sink_queue: GstElement*,
  rw_audio_app_sink: GstElement*,
  prev_frame_count: guint,
  last_sample: GstSample*,
  rw_thread: GThread*,
  current_buffer: GstBuffer*,
  rw_buffer: GList*,
  rw_info: GList*,
  rw_current_buffer: GList*,
  rw_current_info: GList*,
  audio_buffer_util: AgsAudioBufferUtil*
}

No description available.

Ancestors

Constructors

ags_gstreamer_file_new

Creates a new instance of AgsGstreamerFile.

since: 3.6.0

Functions

ags_gstreamer_file_check_suffix

Check suffix.

since: 3.6.0

Instance methods

ags_gstreamer_file_create_aac_encoding_profile

Create aac rw pipeline.

since: 3.6.0

ags_gstreamer_file_create_mkv_encoding_profile

Create mkv rw pipeline.

since: 3.6.0

ags_gstreamer_file_create_mp3_encoding_profile

Create mp3 rw pipeline.

since: 3.6.0

ags_gstreamer_file_create_mp4_encoding_profile

Create mp4 rw pipeline.

since: 3.6.0

ags_gstreamer_file_create_mpeg_encoding_profile

Create mpeg rw pipeline.

since: 3.6.0

ags_gstreamer_file_create_wav_encoding_profile

Create wav rw pipeline.

since: 3.6.0

ags_gstreamer_file_create_webm_encoding_profile

Create webm rw pipeline.

since: 3.6.0

ags_gstreamer_file_detect_encoding_profile

Detect rw and create rw pipeline.

since: 3.6.0

ags_gstreamer_file_set_flags

Enable a feature of gstreamer_file.

since: 3.6.0

ags_gstreamer_file_test_flags

Test flags to be set on gstreamer_file.

since: 3.6.0

ags_gstreamer_file_unset_flags

Disable a feature of gstreamer_file.

since: 3.6.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from AgsConnectable (13)
ags_connectable_add_to_registry

Add connectable to registry.

ags_connectable_connect

Connect the connectable.

ags_connectable_connect_connection

Disconnect the connectable.

ags_connectable_disconnect

Disconnect the connectable.

ags_connectable_disconnect_connection

Disconnect the connectable.

ags_connectable_get_uuid

Get UUID of connectable.

ags_connectable_has_resource

Check the connectable to have resources.

ags_connectable_is_connected

Check if the connectable was connected.

ags_connectable_is_ready

Connect the connectable.

ags_connectable_list_resource

List resources as an XML element and return it.

ags_connectable_remove_from_registry

Remove connectable from registry.

ags_connectable_xml_compose

Compose an XML element and return it.

ags_connectable_xml_parse

Parse node as XML element and apply it.

Methods inherited from AgsSoundResource (14)
ags_sound_resource_close

Close sound_resource.

since: 3.0.0

ags_sound_resource_flush

Flush sound_resource.

since: 3.0.0

ags_sound_resource_get_presets

Get presets of sound_resource.

since: 3.0.0

ags_sound_resource_info

Get information about sound_resource.

since: 3.0.0

ags_sound_resource_load

Load audio data of sound_resource.

since: 3.0.0

ags_sound_resource_open

Open sound_resource for reading and assign filename.

since: 3.0.0

ags_sound_resource_read

Read frame_count number of frames from sound_resource and copy the data to dbuffer using format by skipping daudio_channels.

since: 3.0.0

ags_sound_resource_read_audio_signal

Read audio signal from sound_resource.

since: 3.0.0

ags_sound_resource_read_audio_signal_at_once

Read audio signal from sound_resource.

since: 4.4.0

ags_sound_resource_read_wave

Read wave from sound_resource.

since: 3.0.0

ags_sound_resource_rw_open

Open sound_resource for reading/writing and assign filename. Setting create to TRUE causes to create the file if it doesn’t exist.

since: 3.0.0

ags_sound_resource_seek

Seek the sound_resource frame_count from whence.

since: 3.0.0

ags_sound_resource_set_presets

Set presets of sound_resource.

since: 3.0.0

ags_sound_resource_write

Write sbuffer to sound_resource frame_count number of frames having format by skipping saudio_channels.

since: 3.0.0

Properties

AgsAudio.GstreamerFile:audio-channels

The audio channels to be used.

since: 3.6.0

AgsAudio.GstreamerFile:buffer-size

The buffer size to be used.

since: 3.6.0

AgsAudio.GstreamerFile:filename

The assigned filename.

since: 3.6.0

AgsAudio.GstreamerFile:format

The format to be used.

since: 3.6.0

AgsAudio.GstreamerFile:samplerate

The samplerate to be used.

since: 3.6.0

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct AgsAudioGstreamerFileClass {
  GObjectClass gobject;
  
}

No description available.

Class members
gobject: GObjectClass

No description available.