Xeno-rat
Loading...
Searching...
No Matches
NAudio.Wave.WaveWindowNative Class Reference
Inheritance diagram for NAudio.Wave.WaveWindowNative:
Collaboration diagram for NAudio.Wave.WaveWindowNative:

Public Member Functions

 WaveWindowNative (WaveInterop.WaveCallback waveCallback)
 

Protected Member Functions

override void WndProc (ref Message m)
 Overrides the window procedure to handle wave messages.
 

Private Attributes

WaveInterop.WaveCallback waveCallback
 

Constructor & Destructor Documentation

◆ WaveWindowNative()

NAudio.Wave.WaveWindowNative.WaveWindowNative ( WaveInterop::WaveCallback waveCallback)
inline

Member Function Documentation

◆ WndProc()

override void NAudio.Wave.WaveWindowNative.WndProc ( ref Message m)
inlineprotected

Overrides the window procedure to handle wave messages.

Parameters
mA reference to a Message that contains the message to process.

This method handles various wave messages and calls the waveCallback method accordingly. If the message is WaveOutDone or WaveInData, it retrieves the output device handle and wave header, and then calls the waveCallback method with appropriate parameters. If the message is WaveOutOpen, WaveOutClose, WaveInClose, or WaveInOpen, it calls the waveCallback method with appropriate parameters. If the message is not a wave message, it calls the base class's WndProc method to handle the message.

Member Data Documentation

◆ waveCallback

WaveInterop.WaveCallback NAudio.Wave.WaveWindowNative.waveCallback
private

The documentation for this class was generated from the following file: