NAudio.WinForms
Summary description for Fader.
Required designer variable.
Creates a new Fader control
Clean up any resources being used.
Minimum value of this fader
Maximum value of this fader
Current value of this fader
Fader orientation
Required method for Designer support - do not modify
the contents of this method with the code editor.
Pan slider control
Required designer variable.
True when pan value changed
Creates a new PanSlider control
Clean up any resources being used.
Required method for Designer support - do not modify
the contents of this method with the code editor.
The current Pan setting
Control that represents a potentiometer
TODO list:
Optional Log scale
Optional reverse scale
Keyboard control
Optional bitmap mode
Optional complete draw mode
Tooltip support
Value changed event
Creates a new pot control
Minimum Value of the Pot
Maximum Value of the Pot
The current value of the pot
Draws the control
Handles the mouse down event to allow changing value by dragging
Handles the mouse up event to allow changing value by dragging
Handles the mouse down event to allow changing value by dragging
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Implements a rudimentary volume meter
Basic volume meter
On Fore Color Changed
Current Value
Minimum decibels
Maximum decibels
Meter orientation
Paints the volume meter
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
VolumeSlider control
Required designer variable.
Volume changed event
Creates a new VolumeSlider control
Clean up any resources being used.
Required method for Designer support - do not modify
the contents of this method with the code editor.
The volume for this control
Windows Forms control for painting audio waveforms
Constructs a new instance of the WaveFormPainter class
On Resize
On ForeColor Changed
Add Max Value
On Paint
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Control for viewing waveforms
Required designer variable.
Creates a new WaveViewer control
sets the associated wavestream
The zoom level, in samples per pixel
Start position (currently in bytes)
Clean up any resources being used.
Required method for Designer support - do not modify
the contents of this method with the code editor.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
A thread-safe Progress Log Control
Creates a new progress log control
The contents of the log as text
Log a message
Clear the log
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Wave Callback Info
Callback Strategy
Window Handle (if applicable)
Sets up a new WaveCallbackInfo for function callbacks
Sets up a new WaveCallbackInfo to use a New Window
IMPORTANT: only use this on the GUI thread
Sets up a new WaveCallbackInfo to use an existing window
IMPORTANT: only use this on the GUI thread
Allows recording using the Windows waveIn APIs
Events are raised as recorded buffers are made available
Indicates recorded data is available
Indicates that all recorded data has now been received.
Prepares a Wave input device for recording
Creates a WaveIn device using the specified window handle for callbacks
A valid window handle
Prepares a Wave input device for recording
Returns the number of Wave In devices available in the system
Retrieves the capabilities of a waveIn device
Device to test
The WaveIn device capabilities
Milliseconds for the buffer. Recommended value is 100ms
Number of Buffers to use (usually 2 or 3)
The device number to use
Called when we get a new buffer of recorded data
Start recording
Stop recording
Gets the current position in bytes from the wave input device.
it calls directly into waveInGetPosition)
Position in bytes
WaveFormat we are recording in
Dispose pattern
Microphone Level
Dispose method
Represents a wave out device
Indicates playback has stopped automatically
Retrieves the capabilities of a waveOut device
Device to test
The WaveOut device capabilities
Returns the number of Wave Out devices available in the system
Gets or sets the desired latency in milliseconds
Should be set before a call to Init
Gets or sets the number of buffers used
Should be set before a call to Init
Gets or sets the device number
Should be set before a call to Init
This must be between -1 and DeviceCount - 1.
-1 means stick to default device even default device is changed
Creates a default WaveOut device
Will use window callbacks if called from a GUI thread, otherwise function
callbacks
Creates a WaveOut device using the specified window handle for callbacks
A valid window handle
Opens a WaveOut device
Initialises the WaveOut device
WaveProvider to play
Start playing the audio from the WaveStream
Pause the audio
Resume playing after a pause from the same position
Stop and reset the WaveOut device
Gets the current position in bytes from the wave output device.
(n.b. this is not the same thing as the position within your reader
stream - it calls directly into waveOutGetPosition)
Position in bytes
Gets a instance indicating the format the hardware is using.
Playback State
Volume for this device 1.0 is full scale
Closes this WaveOut device
Closes the WaveOut device and disposes of buffers
True if called from Dispose
Finalizer. Only called when user forgets to call Dispose