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

struct for storing the arguments for the audio finished playing events. More...

#include <AudioFinishedPlayingEventArgs.h>

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

Public Member Functions

 AudioFinishedPlayingEventArgs (Native::NativeAudio *pNativeAudio, AudioObject *pAudioObject, uint32_t remainingLoopCount)
 
- 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

AudioObjectpAudioObject
 
uint32_t remainingLoopCount
 
- Public Attributes inherited from HephAudio::AudioEventArgs
Native::NativeAudiopNativeAudio
 

Detailed Description

struct for storing the arguments for the audio finished playing events.

Constructor & Destructor Documentation

◆ AudioFinishedPlayingEventArgs()

HephAudio::AudioFinishedPlayingEventArgs::AudioFinishedPlayingEventArgs ( Native::NativeAudio * pNativeAudio,
AudioObject * pAudioObject,
uint32_t remainingLoopCount )

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

Parameters
pNativeAudiopointer to the native audio instance that raised the event.
pAudioObjectpointer to the audio object instance that's being rendered.
remainingLoopCountnumber of loops remaining. Number of times the audio object will be played again.

Member Data Documentation

◆ pAudioObject

AudioObject* HephAudio::AudioFinishedPlayingEventArgs::pAudioObject

pointer to the audio object instance that's being rendered.

◆ remainingLoopCount

uint32_t HephAudio::AudioFinishedPlayingEventArgs::remainingLoopCount

number of loops remaining. Number of times the audio object will be played again.