| Recorder Class |
Namespace: Alvas.Audio
The Recorder type exposes the following members.
| Name | Description | |
|---|---|---|
| Close |
Closes opened recording device.
| |
| Configure |
Configures device before recording.
| |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Dispose | Releases all resources used by the Component. (Inherited from Component.) | |
| Equals | (Inherited from Object.) | |
| GetErrorString |
Returns string that describes the specified error code.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| Open |
Opens device for recording.
| |
| Record |
Records sound.
| |
| Save |
Saves recorded sound into file.
| |
| Stop |
Stops recording.
| |
| ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) |
| Name | Description | |
|---|---|---|
| Container | Gets the IContainer that contains the Component. (Inherited from Component.) | |
| IsRecording |
Returns true if recording or false otherwise.
| |
| Site | (Inherited from Component.) | |
| Status |
Gets current device status.
|
| Name | Description | |
|---|---|---|
| Disposed | Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.) |
rec.Open(); Recorder.Channel rc = Recorder.Channel.Stereo; Recorder.BitsPerSample rbps = Recorder.BitsPerSample.Bps16; Recorder.SamplesPerSec rsps = Recorder.SamplesPerSec.Sps8000; rec.Configure(rc, rbps, rsps); rec.Record();