LMMS
Loading...
Searching...
No Matches
lmms::OutputSettings Class Reference

#include <OutputSettings.h>

Public Types

enum class  BitDepth { Depth16Bit , Depth24Bit , Depth32Bit , Count }
enum class  StereoMode { Mono , Stereo , JointStereo , Count }

Public Member Functions

 OutputSettings (sample_rate_t sampleRate, bitrate_t bitRate, BitDepth bitDepth, StereoMode stereoMode)
 OutputSettings (sample_rate_t sampleRate, bitrate_t bitRate, BitDepth bitDepth)
sample_rate_t getSampleRate () const
void setSampleRate (sample_rate_t sampleRate)
bitrate_t bitrate () const
void setBitrate (bitrate_t bitrate)
BitDepth getBitDepth () const
void setBitDepth (BitDepth bitDepth)
StereoMode getStereoMode () const
void setStereoMode (StereoMode stereoMode)
double getCompressionLevel () const
void setCompressionLevel (double level)

Private Attributes

sample_rate_t m_sampleRate
bitrate_t m_bitRate
BitDepth m_bitDepth
StereoMode m_stereoMode
double m_compressionLevel

Member Enumeration Documentation

◆ BitDepth

enum class lmms::OutputSettings::BitDepth
strong
Enumerator
Depth16Bit 
Depth24Bit 
Depth32Bit 
Count 

◆ StereoMode

Enumerator
Mono 
Stereo 
JointStereo 
Count 

Constructor & Destructor Documentation

◆ OutputSettings() [1/2]

lmms::OutputSettings::OutputSettings ( sample_rate_t sampleRate,
bitrate_t bitRate,
BitDepth bitDepth,
StereoMode stereoMode )
inline

◆ OutputSettings() [2/2]

lmms::OutputSettings::OutputSettings ( sample_rate_t sampleRate,
bitrate_t bitRate,
BitDepth bitDepth )
inline

Member Function Documentation

◆ bitrate()

bitrate_t lmms::OutputSettings::bitrate ( ) const
inline

◆ getBitDepth()

BitDepth lmms::OutputSettings::getBitDepth ( ) const
inline

◆ getCompressionLevel()

double lmms::OutputSettings::getCompressionLevel ( ) const
inline

◆ getSampleRate()

sample_rate_t lmms::OutputSettings::getSampleRate ( ) const
inline

◆ getStereoMode()

StereoMode lmms::OutputSettings::getStereoMode ( ) const
inline

◆ setBitDepth()

void lmms::OutputSettings::setBitDepth ( BitDepth bitDepth)
inline

◆ setBitrate()

void lmms::OutputSettings::setBitrate ( bitrate_t bitrate)
inline

◆ setCompressionLevel()

void lmms::OutputSettings::setCompressionLevel ( double level)
inline

◆ setSampleRate()

void lmms::OutputSettings::setSampleRate ( sample_rate_t sampleRate)
inline

◆ setStereoMode()

void lmms::OutputSettings::setStereoMode ( StereoMode stereoMode)
inline

Member Data Documentation

◆ m_bitDepth

BitDepth lmms::OutputSettings::m_bitDepth
private

◆ m_bitRate

bitrate_t lmms::OutputSettings::m_bitRate
private

◆ m_compressionLevel

double lmms::OutputSettings::m_compressionLevel
private

◆ m_sampleRate

sample_rate_t lmms::OutputSettings::m_sampleRate
private

◆ m_stereoMode

StereoMode lmms::OutputSettings::m_stereoMode
private

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