HephAudio v3.0.6
A cross-platform C++ library for recording, playing, and processing audio on Windows, Android, Linux, iOS, and macOS.
Loading...
Searching...
No Matches
HephAudio::AudioDeviceEventArgs Struct Reference

struct for storing the arguments for the audio device events. More...

#include <AudioDeviceEventArgs.h>

Inheritance diagram for HephAudio::AudioDeviceEventArgs:
HephAudio::AudioEventArgs Heph::EventArgs

Public Member Functions

 AudioDeviceEventArgs (Native::NativeAudio *pNativeAudio, AudioDevice audioDevice)
 
- Public Member Functions inherited from HephAudio::AudioEventArgs
 AudioEventArgs (Native::NativeAudio *pNativeAudio)
 
virtual ~AudioEventArgs ()=default
 
- Public Member Functions inherited from Heph::EventArgs
virtual ~EventArgs ()=default
 

Public Attributes

AudioDevice audioDevice
 
- Public Attributes inherited from HephAudio::AudioEventArgs
Native::NativeAudiopNativeAudio
 

Detailed Description

struct for storing the arguments for the audio device events.

Constructor & Destructor Documentation

◆ AudioDeviceEventArgs()

HephAudio::AudioDeviceEventArgs::AudioDeviceEventArgs ( Native::NativeAudio * pNativeAudio,
AudioDevice audioDevice )

creates a new instance and initializes it with the provided values.

Parameters
pNativeAudiopointer to the native audio instance that raised the event.
audioDevicethe device that caused the event to be raised.

Member Data Documentation

◆ audioDevice

AudioDevice HephAudio::AudioDeviceEventArgs::audioDevice

the device that caused the event to be raised.