Stream
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( free_function = "Pa_CloseStream" ) ]
public class Stream
[ CCode ( free_function = "Pa_CloseStream" ) ]
public class Stream
Namespace: PortAudio
Package: portaudio
Content:
Classes:
Structs:
Enums:
Constants:
- public const Flags CLIP_OFF
- public const Flags DITHER_OFF
- public const CallbackFlags INPUT_OVERFLOW
- public const CallbackFlags INPUT_UNDERFLOW
- public const Flags NEVER_DROP_INPUT
- public const Flags NO_FLAG
- public const CallbackFlags OUTPUT_OVERFLOW
- public const CallbackFlags OUTPUT_UNDERFLOW
- public const Flags PLATFORM_SPECIFIC_FLAGS
- public const Flags PRIME_OUTPUT_BUFFER_USING_STREAM_CALLBACK
- public const CallbackFlags PRIMING_OUTPUT
Delegates:
- public delegate int Callback (void* input, void* output, ulong frame_count, CallbackTimeInfo time_info, CallbackFlags status_flags)
- public delegate void FinishedCallback ()
Static methods:
- public static Error open (out Stream stream, Parameters input_parameters, Parameters output_parameters, double sample_rate, ulong frames_per_buffer, Flags stream_flags, Callback stream_callback)
- public static Error open_default (out Stream stream, int num_input_channels, int num_output_channels, SampleFormat sample_format, double sample_rate, ulong frames_per_buffer, Callback stream_callback)
Methods:
- public Error abort ()
- public double get_cpu_load ()
- public long get_read_available ()
- public Info get_stream_info ()
- public Time get_time ()
- public long get_write_available ()
- public Error is_stream_active ()
- public Error is_stream_stopped ()
- public Error read (void* buffer, ulong frames)
- public Error set_finished_callback (FinishedCallback finished_callback)
- public Error start ()
- public Error stop ()
- public Error write (void* buffer, ulong frames)