OpenShot Library | libopenshot  0.7.0
Public Attributes | List of all members
openshot::AudioRecorderSettings Struct Reference

#include <AudioRecorder.h>

Public Attributes

int bit_rate = 192000
 
int buffer_size = 512
 
openshot::ChannelLayout channel_layout = openshot::LAYOUT_MONO
 
int channels = 1
 
std::string codec = "pcm_s16le"
 
std::string device_name
 
std::string device_type
 
int max_queue_seconds = 10
 
std::map< std::string, std::string > options
 
std::string path
 
int sample_rate = 48000
 
int waveform_samples_per_second = 30
 

Detailed Description

Definition at line 40 of file AudioRecorder.h.

Member Data Documentation

◆ bit_rate

int openshot::AudioRecorderSettings::bit_rate = 192000

Definition at line 49 of file AudioRecorder.h.

◆ buffer_size

int openshot::AudioRecorderSettings::buffer_size = 512

Definition at line 50 of file AudioRecorder.h.

Referenced by openshot::AudioRecorder::Open().

◆ channel_layout

openshot::ChannelLayout openshot::AudioRecorderSettings::channel_layout = openshot::LAYOUT_MONO

Definition at line 48 of file AudioRecorder.h.

◆ channels

int openshot::AudioRecorderSettings::channels = 1

◆ codec

std::string openshot::AudioRecorderSettings::codec = "pcm_s16le"

Definition at line 45 of file AudioRecorder.h.

◆ device_name

std::string openshot::AudioRecorderSettings::device_name

Definition at line 43 of file AudioRecorder.h.

Referenced by openshot::AudioRecorder::Open().

◆ device_type

std::string openshot::AudioRecorderSettings::device_type

Definition at line 44 of file AudioRecorder.h.

Referenced by openshot::AudioRecorder::Open().

◆ max_queue_seconds

int openshot::AudioRecorderSettings::max_queue_seconds = 10

◆ options

std::map<std::string, std::string> openshot::AudioRecorderSettings::options

Definition at line 53 of file AudioRecorder.h.

◆ path

std::string openshot::AudioRecorderSettings::path

Definition at line 42 of file AudioRecorder.h.

Referenced by openshot::AudioRecorder::Open().

◆ sample_rate

int openshot::AudioRecorderSettings::sample_rate = 48000

◆ waveform_samples_per_second

int openshot::AudioRecorderSettings::waveform_samples_per_second = 30

Definition at line 51 of file AudioRecorder.h.

Referenced by openshot::AudioRecorder::Open().


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