Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
platf::av_mic_t Struct Reference

macOS microphone capture device and audio format state. More...

Inheritance diagram for platf::av_mic_t:
Collaboration diagram for platf::av_mic_t:

Public Member Functions

capture_e sample (std::vector< float > &sample_in) override
 Deliver a captured audio sample to Sunshine's audio pipeline.

Public Attributes

AVAudio * av_audio_capture {}
 AV audio capture.

Detailed Description

macOS microphone capture device and audio format state.

Member Function Documentation

◆ sample()

capture_e platf::av_mic_t::sample ( std::vector< float > & sample_in)
inlineoverridevirtual

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

Parameters
sample_inSample in.
Returns
Capture status reported to the streaming pipeline.

Implements platf::mic_t.


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