|
| AudioPlayer (WaveFormat waveFormat) |
|
void | Start () |
| Clears the buffer and starts playing audio.
|
|
void | Stop () |
| Stops the audio playback and clears the buffer.
|
|
void | Dispose () |
| Stops the audio playback and disposes of the resources used by the WaveOut player.
|
|
void | AddAudio (byte[] audioData) |
| Adds audio samples to the wave provider.
|
|
◆ AudioPlayer()
xeno_rat_server.Forms.AudioPlayer.AudioPlayer |
( |
WaveFormat | waveFormat | ) |
|
|
inline |
◆ AddAudio()
void xeno_rat_server.Forms.AudioPlayer.AddAudio |
( |
byte[] | audioData | ) |
|
|
inline |
Adds audio samples to the wave provider.
- Parameters
-
audioData | The audio data to be added as byte array. |
This method adds the provided audio samples to the wave provider for playback.
◆ Dispose()
void xeno_rat_server.Forms.AudioPlayer.Dispose |
( |
| ) |
|
|
inline |
Stops the audio playback and disposes of the resources used by the WaveOut player.
This method stops the audio playback and releases the resources used by the WaveOut player.
◆ Start()
void xeno_rat_server.Forms.AudioPlayer.Start |
( |
| ) |
|
|
inline |
Clears the buffer and starts playing audio.
This method clears the buffer of the wave provider and starts playing audio using the wave out device.
◆ Stop()
void xeno_rat_server.Forms.AudioPlayer.Stop |
( |
| ) |
|
|
inline |
Stops the audio playback and clears the buffer.
◆ waveOut
◆ waveProvider
The documentation for this class was generated from the following file:
- /Users/sumansaurabh/Documents/my-startup/xeno-rat/xeno rat server/Forms/Live Microphone.cs