Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
platf::mic_t Class Referenceabstract

Audio capture source used by the streaming pipeline. More...

#include <src/platform/common.h>

Inheritance diagram for platf::mic_t:

Public Member Functions

virtual capture_e sample (std::vector< float > &frame_buffer)=0
 Deliver a captured audio sample to Sunshine's audio pipeline.

Detailed Description

Audio capture source used by the streaming pipeline.

Member Function Documentation

◆ sample()

virtual capture_e platf::mic_t::sample ( std::vector< float > & frame_buffer)
pure virtual

Deliver a captured audio sample to Sunshine's audio pipeline.

Parameters
frame_bufferDestination for captured floating-point PCM samples.
Returns
Capture status reported to the streaming pipeline.

Implemented in platf::audio::mic_wasapi_t, platf::av_mic_t, and platf::mic_attr_t.


The documentation for this class was generated from the following file: