Navigation
API > API/Plugins > API/Plugins/PixelStreaming2 > API/Plugins/PixelStreaming2/IPixelStreaming2AudioProducer
References
| Module | PixelStreaming2 |
| Header | /Engine/Plugins/Media/PixelStreaming2/Source/PixelStreaming2/Public/IPixelStreaming2AudioProducer.h |
| Include | #include "IPixelStreaming2AudioProducer.h" |
void PushAudio
(
const float * InBuffer,
int32 NumSamples,
int32 NumChannels,
int32 SampleRate
)
Remarks
Pushes audio into the PS2 audio pipeline which will mix with other audio producers before broadcasting.
Parameters
| Name | Description |
|---|---|
| InBuffer | Pointer to the audio data. |
| NumSamples | Number of Audio frames in a single channel. |
| NumChannels | Number of audio channels. For example 2 for stero audio. |
| SampleRate | Audio sample rate in samples per second. |