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::AudioEventArgs Struct Reference

base class for audio event arguments. More...

#include <AudioEventArgs.h>

Inheritance diagram for HephAudio::AudioEventArgs:
Heph::EventArgs HephAudio::AudioCaptureEventArgs HephAudio::AudioDeviceEventArgs HephAudio::AudioFinishedPlayingEventArgs HephAudio::AudioRenderEventArgs

Public Member Functions

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

Public Attributes

Native::NativeAudiopNativeAudio
 

Detailed Description

base class for audio event arguments.

Constructor & Destructor Documentation

◆ AudioEventArgs()

HephAudio::AudioEventArgs::AudioEventArgs ( Native::NativeAudio * pNativeAudio)

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

Parameters
pNativeAudiopointer to the native audio instance that raised the event.

◆ ~AudioEventArgs()

virtual HephAudio::AudioEventArgs::~AudioEventArgs ( )
virtualdefault

releases the resources and destroys the instance.

Member Data Documentation

◆ pNativeAudio

Native::NativeAudio* HephAudio::AudioEventArgs::pNativeAudio

pointer to the native audio instance that raised the event.