Class: GstAudio::AudioCdSrc

Inherits:
GstBase::PushSrc show all
Defined in:
(unknown)

Overview

Audio CD source base class.

Instance Method Summary collapse

Methods inherited from GstBase::BaseSrc

#async=, #automatic_eos=, #automatic_eos?, #blocksize, #blocksize=, #buffer_pool, #caps=, #do_timestamp, #do_timestamp=, #do_timestamp?, #dynamic_size=, #format=, #get_allocator, #is_async, #is_live, #live=, #negotiate, #new_seamless_segment, #new_segment, #num_buffers, #num_buffers=, #push_segment, #query_latency, #start_complete, #start_wait, #submit_buffer_list, #typefind=, #typefind?, #wait_playing

Methods inherited from Gst::Element

#>>, [], #abort_state, #add_metadata, #add_pad, #add_pad_template, #add_property_deep_notify_watch, #add_property_notify_watch, #add_static_metadata, #add_static_pad_template, #add_static_pad_template_with_gtype, #base_time, #base_time=, #bus, #bus=, #call_async, #change_state, #clock, #clock=, #context=, #contexts, #continue_state, #create_all_pads, #current_clock_time, #current_running_time, #decorate_stream_id, #decorate_stream_id_printf, #decorate_stream_id_printf_valist, #factory, #flags, #flags_raw, #foreach_pad, #foreach_sink_pad, #foreach_src_pad, #get_compatible_pad, #get_compatible_pad_template, #get_context, #get_context_unlocked, #get_metadata, #get_pad_template, #get_request_pad, #get_state, #get_static_pad, #is_locked_state, #iterate_pads, #iterate_sink_pads, #iterate_src_pads, #link_elements, #link_filtered, #link_many, #link_pads, #link_pads_filtered, #link_pads_full, #locked_state=, #lost_state, make_from_uri, #message_full, #message_full_with_details, #no_more_pads, #pad_template_list, #pause, #play, #post_message, #provide_clock, #query, #query_convert, #query_duration, #query_position, #ready, register, #release_request_pad, #remove_pad, #remove_property_notify_watch, #request_pad, #request_pad_simple, #seek, #seek_simple, #send_event, #set_metadata, #set_static_metadata, #start_time, #start_time=, #state=, state_change_return_get_name, state_get_name, #stop, #sync_state_with_parent, type_set_skip_documentation, #unlink, #unlink_many, #unlink_pads

Methods inherited from Gst::Object

#add_control_binding, check_uniqueness, #control_bindings_disabled=, #control_rate, #control_rate=, default_deep_notify, #default_error, #get_control_binding, #get_g_value_array, #get_value, #get_value_array, #has_active_control_bindings, #has_ancestor, #has_as_ancestor, #has_as_parent, #name, #name=, #parent, #parent=, #path_string, #ref, ref_sink, #remove_control_binding, replace, #set_control_binding_disabled, #suggest_next_sync, #sync_values, #unparent, #unref

Instance Method Details

#add_track(track) ⇒ Boolean

CDDA sources use this function from their start vfunc to announce the available data and audio tracks to the base source class. The caller should allocate track on the stack, the base source will do a shallow copy of the structure (and take ownership of the taglist if there is one).

Parameters:

  • track (GstAudio::AudioCdSrcTrack)

    address of Gst::AudioCdSrcTrack to add

Returns:

  • (Boolean)

    FALSE on error, otherwise TRUE.

#deviceString

Returns device.

Returns:

  • (String)

    device

#device=(device) ⇒ String

Parameters:

  • device (String)

Returns:

  • (String)

    device

  • (String)

    device

#modeGstAudio::AudioCdSrcMode

Returns mode.

Returns:

#mode=(mode) ⇒ GstAudio::AudioCdSrcMode

Parameters:

Returns:

#trackInteger

Returns track.

Returns:

  • (Integer)

    track

#track=(track) ⇒ Integer

Parameters:

  • track (Integer)

Returns:

  • (Integer)

    track

  • (Integer)

    track