Sunshine master
Self-hosted game stream host for Moonlight.
platf::av_mic_t Struct Reference

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

Inheritance diagram for platf::av_mic_t:
[legend]
Collaboration diagram for platf::av_mic_t:
[legend]

Public Member Functions

capture_e sample (std::vector< float > &sample_in) override
 Deliver a captured audio sample to Sunshine's audio pipeline.
 
- Public Member Functions inherited from platf::mic_t

Public Attributes

AVAudioav_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: