PcmDevice
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "snd_pcm_t" , cprefix = "snd_pcm_" , free_function = "" ) ]
public class PcmDevice
Content:
Static methods:
- public static int open (out PcmDevice pcm, string name, PcmStream stream, PcmMode mode = 0)
- public static int simple_init_duplex (PcmDevice playback, PcmDevice capture, uint rate, uint channels, PcmFormat format, PcmSubformat subformat, PcmSimpleLatency latency, PcmAccess access, PcmSimpleXrunType xrun, PcmSimpleDuplex duplex)
Methods:
- public PcmSignedFrames avail ()
- public int avail_delay (out PcmSignedFrames availp, out PcmSignedFrames delayp)
- public PcmSignedFrames avail_update ()
- public PcmSignedFrames bytes_to_frames (ssize_t bytes)
- public long bytes_to_samples (ssize_t bytes)
- public int close ()
- public int delay (PcmSignedFrames delayp)
- public int drain ()
- public int drop ()
- public PcmSignedFrames forward (PcmUnsignedFrames frames)
- public PcmSignedFrames forwardable ()
- public ssize_t frames_to_bytes (PcmSignedFrames frames)
- public unowned string get_name ()
- public int get_params (out PcmUnsignedFrames buffer_size, out PcmUnsignedFrames period_size)
- public int get_poll_descriptors_count ()
- public PcmStream get_stream ()
- public PcmType get_type ()
- public int htimestamp (out PcmUnsignedFrames avail, out PcmHardwareTimestamp tstamp)
- public int hw_free ()
- public int hw_params (PcmHardwareParams @params)
- public int hw_params_any (PcmHardwareParams @params)
- public int hw_params_current (out PcmHardwareParams @params)
- public int hw_params_get_export_buffer (PcmHardwareParams @params, out int val)
- public int hw_params_get_period_wakeup (PcmHardwareParams @params, out int val)
- public int hw_params_get_rate_resample (PcmHardwareParams @params, out int val)
- public int hw_params_set_access (PcmHardwareParams @params, PcmAccess access)
- public int hw_params_set_access_first (PcmHardwareParams @params, out PcmAccess access)
- public int hw_params_set_access_last (PcmHardwareParams @params, out PcmAccess access)
- public int hw_params_set_access_mask (PcmHardwareParams @params, out PcmAccessMask mask)
- public int hw_params_set_buffer_size (PcmHardwareParams @params, PcmUnsignedFrames frames)
- public int hw_params_set_buffer_size_first (PcmHardwareParams @params, out PcmUnsignedFrames frames)
- public int hw_params_set_buffer_size_last (PcmHardwareParams @params, out PcmUnsignedFrames frames)
- public int hw_params_set_buffer_size_max (PcmHardwareParams @params, out PcmUnsignedFrames frames)
- public int hw_params_set_buffer_size_min (PcmHardwareParams @params, out PcmUnsignedFrames frames)
- public int hw_params_set_buffer_size_minmax (PcmHardwareParams @params, out PcmUnsignedFrames min, out PcmUnsignedFrames max)
- public int hw_params_set_buffer_size_near (PcmHardwareParams @params, out PcmUnsignedFrames frames)
- public int hw_params_set_buffer_time (PcmHardwareParams @params, uint val, int dir)
- public int hw_params_set_buffer_time_first (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_buffer_time_last (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_buffer_time_max (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_buffer_time_min (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_buffer_time_minmax (PcmHardwareParams @params, out uint min, out int mindir, out int max, out int maxdir)
- public int hw_params_set_buffer_time_near (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_channels (PcmHardwareParams @params, uint val)
- public int hw_params_set_channels_first (PcmHardwareParams @params, out int val)
- public int hw_params_set_channels_last (PcmHardwareParams @params, out int val)
- public int hw_params_set_channels_max (PcmHardwareParams @params, out int val)
- public int hw_params_set_channels_min (PcmHardwareParams @params, out int val)
- public int hw_params_set_channels_minmax (PcmHardwareParams @params, out uint min, out int max)
- public int hw_params_set_channels_near (PcmHardwareParams @params, out int val)
- public int hw_params_set_export_buffer (PcmHardwareParams @params, uint val)
- public int hw_params_set_format (PcmHardwareParams @params, PcmFormat format)
- public int hw_params_set_format_first (PcmHardwareParams @params, out PcmFormat format)
- public int hw_params_set_format_last (PcmHardwareParams @params, out PcmFormat format)
- public int hw_params_set_format_mask (PcmHardwareParams @params, out PcmFormatMask mask)
- public int hw_params_set_period_size (PcmHardwareParams @params, PcmUnsignedFrames frames, int dir)
- public int hw_params_set_period_size_first (PcmHardwareParams @params, out PcmUnsignedFrames frames, out int dir)
- public int hw_params_set_period_size_integer (PcmHardwareParams @params)
- public int hw_params_set_period_size_last (PcmHardwareParams @params, out PcmUnsignedFrames frames, out int dir)
- public int hw_params_set_period_size_max (PcmHardwareParams @params, out PcmUnsignedFrames frames, out int dir)
- public int hw_params_set_period_size_min (PcmHardwareParams @params, out PcmUnsignedFrames frames, out int dir)
- public int hw_params_set_period_size_minmax (PcmHardwareParams @params, out PcmUnsignedFrames min, out int mindir, out PcmUnsignedFrames max, out int maxdir)
- public int hw_params_set_period_size_near (PcmHardwareParams @params, out PcmUnsignedFrames frames, out int dir)
- public int hw_params_set_period_time (PcmHardwareParams @params, uint val, int dir)
- public int hw_params_set_period_time_first (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_period_time_last (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_period_time_max (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_period_time_min (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_period_time_minmax (PcmHardwareParams @params, out uint min, out int mindir, out int max, out int maxdir)
- public int hw_params_set_period_time_near (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_period_wakeup (PcmHardwareParams @params, uint val)
- public int hw_params_set_periods (PcmHardwareParams @params, uint val, int dir)
- public int hw_params_set_periods_first (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_periods_integer (PcmHardwareParams @params)
- public int hw_params_set_periods_last (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_periods_max (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_periods_min (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_periods_minmax (PcmHardwareParams @params, out uint min, out int mindir, out int max, out int maxdir)
- public int hw_params_set_periods_near (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_rate (PcmHardwareParams @params, uint val, int dir)
- public int hw_params_set_rate_first (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_rate_last (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_rate_max (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_rate_min (PcmHardwareParams @params, out int val, out int dir)
- public int hw_params_set_rate_minmax (PcmHardwareParams @params, out uint min, out int mindir, out int max, out int maxdir)
- public int hw_params_set_rate_near (PcmHardwareParams @params, ref int val, int dir)
- public int hw_params_set_rate_resample (PcmHardwareParams @params, uint val)
- public int hw_params_set_subformat (PcmHardwareParams @params, PcmSubformat subformat)
- public int hw_params_set_subformat_first (PcmHardwareParams @params, out PcmSubformat subformat)
- public int hw_params_set_subformat_last (PcmHardwareParams @params, out PcmSubformat subformat)
- public int hw_params_set_subformat_mask (PcmHardwareParams @params, out PcmSubformatMask mask)
- public int hw_params_test_access (PcmHardwareParams @params, PcmAccess access)
- public int hw_params_test_buffer_size (PcmHardwareParams @params, PcmUnsignedFrames frames)
- public int hw_params_test_buffer_time (PcmHardwareParams @params, uint val, int dir)
- public int hw_params_test_channels (PcmHardwareParams @params, uint val)
- public int hw_params_test_format (PcmHardwareParams @params, PcmFormat format)
- public int hw_params_test_period_size (PcmHardwareParams @params, PcmUnsignedFrames frames, int dir)
- public int hw_params_test_period_time (PcmHardwareParams @params, uint val, int dir)
- public int hw_params_test_periods (PcmHardwareParams @params, uint val, int dir)
- public int hw_params_test_rate (PcmHardwareParams @params, uint val, int dir)
- public int hw_params_test_subformat (PcmHardwareParams @params, PcmSubformat subformat)
- public int hwsync ()
- public int info (PcmInfo info)
- public int link (PcmDevice otherDevice)
- public int pause (bool enable)
- public int prepare ()
- public PcmSignedFrames readi (uint8[] buffer, PcmUnsignedFrames size)
- public PcmSignedFrames readn (uint8*[] buffer, PcmUnsignedFrames size)
- public int recover (int err, int silent)
- public int reset ()
- public int resume ()
- public PcmSignedFrames rewind (PcmUnsignedFrames frames)
- public PcmSignedFrames rewindable ()
- public ssize_t samples_to_bytes (long samples)
- public int set_nonblock (bool nonblock)
- public int set_params (PcmFormat format, PcmAccess access, uint channels, uint rate, int soft_resample, uint latency)
- public int set_poll_descriptors (pollfd[] pfds)
- public int set_poll_descriptors_revents (pollfd[] pfds, out ushort revents)
- public int set_status (PcmState? status)
- public int simple_get_params (out uint rate, out PcmUnsignedFrames buffer_size, out PcmUnsignedFrames period_size)
- public int simple_init (uint rate, uint channels, PcmFormat format, PcmSubformat subformat, PcmSimpleLatency latency, PcmAccess access, PcmSimpleXrunType xrun)
- public int start ()
- public PcmState state ()
- public int sw_params (PcmSoftwareParams @params)
- public int sw_params_current (out PcmSoftwareParams @params)
- public int unlink ()
- public int wait (int timeout)
- public PcmSignedFrames writei (uint8[] buffer, PcmUnsignedFrames size)
- public PcmSignedFrames writen (uint8*[] buffer, PcmUnsignedFrames size)