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

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

#include <AudioCaptureEventArgs.h>

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

Public Member Functions

 AudioCaptureEventArgs (Native::NativeAudio *pNativeAudio, AudioBuffer &captureBuffer)
 
- 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

AudioBuffer captureBuffer
 
- Public Attributes inherited from HephAudio::AudioEventArgs
Native::NativeAudiopNativeAudio
 

Detailed Description

struct for storing the arguments for the audio capture events.

Constructor & Destructor Documentation

◆ AudioCaptureEventArgs()

HephAudio::AudioCaptureEventArgs::AudioCaptureEventArgs ( Native::NativeAudio * pNativeAudio,
AudioBuffer & captureBuffer )

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

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

Member Data Documentation

◆ captureBuffer

AudioBuffer HephAudio::AudioCaptureEventArgs::captureBuffer

captured audio data.