Stream
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "pa_stream" , cprefix = "pa_stream_" , has_type_id = false , ref_function = "pa_stream_ref" , unref_function = "pa_stream_unref" ) ]
public class Stream
Content:
Structs:
Enums:
Constants:
Delegates:
- public delegate void EventCb (Stream s, string name, Proplist proplist)
- public delegate void NotifyCb (Stream s)
- public delegate void RequestCb (Stream s, size_t nbytes)
- public delegate void SuccessCb (Stream s, int success)
Creation methods:
Methods:
- public int begin_write (out void* data, out size_t nbytes)
- public int cancel_write ()
- public int connect_playback (string? dev = null, BufferAttr? a = null, Flags flags = 0, CVolume? volume = null, Stream? sync_stream = null)
- public int connect_record (string? dev = null, BufferAttr? a = null, Flags flags = 0)
- public int connect_upload (size_t length)
- public Operation? cork (bool b, SuccessCb? cb = null)
- public int disconnect ()
- public Operation? drain (SuccessCb? cb = null)
- public int drop ()
- public int finish_upload ()
- public Operation? flush (SuccessCb? cb = null)
- public unowned BufferAttr? get_buffer_attr ()
- public unowned ChannelMap? get_channel_map ()
- public Context get_context ()
- public uint32 get_device_index ()
- public unowned string? get_device_name ()
- public uint32 get_index ()
- public int get_latency (out usec u, out bool negative = null)
- public uint32 get_monitor_stream ()
- public unowned SampleSpec? get_sample_spec ()
- public State get_state ()
- public int get_time (out usec u)
- public unowned TimingInfo? get_timing_info ()
- public int is_corked ()
- public int is_suspended ()
- public int peek (out void* data, out size_t nbytes)
- public Operation? prebuf (SuccessCb? cb = null)
- public Operation? proplist_remove (string[] keys, SuccessCb? cb = null)
- public Operation? proplist_update (UpdateMode mode, Proplist pl, SuccessCb? cb = null)
- public size_t readable_size ()
- public Operation? set_buffer_attr (BufferAttr attr, SuccessCb? cb = null)
- public void set_buffer_attr_callback (NotifyCb? cb = null)
- public void set_event_callback (EventCb? cb = null)
- public void set_latency_update_callback (NotifyCb? cb = null)
- public int set_monitor_stream (uint32 sink_input)
- public void set_moved_callback (NotifyCb? cb = null)
- public Operation? set_name (string name, SuccessCb? cb = null)
- public void set_overflow_callback (NotifyCb? cb = null)
- public void set_read_callback (RequestCb? cb = null)
- public void set_started_callback (NotifyCb? cb = null)
- public void set_state_callback (NotifyCb? cb = null)
- public void set_suspended_callback (NotifyCb? cb = null)
- public void set_underflow_callback (NotifyCb? cb = null)
- public void set_write_callback (RequestCb? cb = null)
- public Operation? trigger (SuccessCb? cb = null)
- public Operation? update_sample_rate (uint32 rate, SuccessCb? cb = null)
- public Operation? update_timing_info (SuccessCb? cb = null)
- public size_t writable_size ()
- public int write (void* data, size_t bytes, FreeCb? free_cb = null, int64 offset = 0, SeekMode mode = RELATIVE)