Base class for audio playback IO operations.
More...
#include <ST_AudioIOPlaybackBase.h>
|
static void | MA_PlaybackCallBack (ma_device *pDevice, void *pOutput, const void *pInput, ma_uint32 frameCount) |
| Callback for handling audio playback data.
|
static void | MA_DataOrganiser (ma_device *pDevice, void *pSamples, uint64 PeriodSizeInFrames, ma_format Format, uint32 Channels) |
|
ma_device * | PlaybackDevice = nullptr |
| Pointer to the Miniaudio playback device.
|
ma_decoder * | PlaybackDecoder = nullptr |
| Pointer to the Miniaudio decoder for reading audio data.
|
bool | bActivated = false |
bool | bIsProcessingFFT = false |
FCriticalSection | SamplerRegistrationMutex |
TArray< UObject * > | RegisteredSamplers |
ma_device_id * | pDeviceID = NULL |
| Pointer to the selected device ID.
|
ma_device_info * | pPlaybackDeviceInfos = nullptr |
| Playback device information.
|
ma_device_info * | pCaptureDeviceInfos = nullptr |
| Capture device information.
|
ma_uint32 | playbackDeviceCount = 0 |
| Number of playback devices found.
|
ma_uint32 | captureDeviceCount = 0 |
| Number of capture devices found.
|
FFFTIOData | CachedFFTIOData |
| Cached FFT IO data.
|
FAudioIOConfig | CachedAudioIOConfig |
| Cached audio IO configuration.
|
Base class for audio playback IO operations.
Handles playback device management and decoding logic. Inherits from UST_AudioIOBase.
◆ DeinitializeAudioIO()
void UST_AudioIOPlaybackBase::DeinitializeAudioIO |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ GetAudioFormat()
EST_SampleFormat UST_AudioIOPlaybackBase::GetAudioFormat |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the current audio format.
- Returns
- the current audio format for the playback.
Reimplemented from UST_AudioIOBase.
◆ GetDecoderConfig()
Returns the configuration of the audio decoder.
- Returns
- The decoder configuration.
◆ GetPlaybackDecoder()
ma_decoder * UST_AudioIOPlaybackBase::GetPlaybackDecoder |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
Retrieves the active audio decoder for playback.
- Returns
- Pointer to the Miniaudio decoder.
Reimplemented from UST_AudioIOBase.
◆ IsPlaying()
bool UST_AudioIOPlaybackBase::IsPlaying |
( |
| ) |
const |
|
inline |
Checks whether audio playback is currently active.
- Returns
- true if playback is active; false otherwise.
◆ MA_PlaybackCallBack()
void UST_AudioIOPlaybackBase::MA_PlaybackCallBack |
( |
ma_device * | pDevice, |
|
|
void * | pOutput, |
|
|
const void * | pInput, |
|
|
ma_uint32 | frameCount ) |
|
static |
Callback for handling audio playback data.
- Parameters
-
pDevice | Pointer to the Miniaudio device. |
pOutput | Output buffer for the device. |
pInput | Input buffer (unused in playback). |
frameCount | Number of frames to process. |
◆ SetIsPlaying()
void UST_AudioIOPlaybackBase::SetIsPlaying |
( |
bool | value | ) |
|
|
inlineprotected |
Sets whether the system is currently playing audio.
- Parameters
-
value | True to mark as playing, false otherwise. |
The documentation for this class was generated from the following files:
- H:/Games/Unreal/Aaron/FunWithShaders/Plugins/ST_VJMaster/Source/ST_AudioProcessing/Public/IO/Base/ST_AudioIOPlaybackBase.h
- H:/Games/Unreal/Aaron/FunWithShaders/Plugins/ST_VJMaster/Source/ST_AudioProcessing/Private/IO/Base/ST_AudioIOPlaybackBase.cpp