swift
Public Member Functions | List of all members
swift::sound::sample_provider::CSimpleCompressorEffect Class Reference

Compressor effect. More...

Inheritance diagram for swift::sound::sample_provider::CSimpleCompressorEffect:
[legend]

Public Member Functions

 CSimpleCompressorEffect (ISampleProvider *source, QObject *parent=nullptr)
 Ctor.
 
virtual int readSamples (QVector< float > &samples, qint64 count)
 Read samples. More...
 
void setEnabled (bool enabled)
 Enable.
 
void setMakeUpGain (double gain)
 Set gain.
 
void setChannels (int channels)
 Set channels 1 or 2.
 
- Public Member Functions inherited from swift::sound::sample_provider::ISampleProvider
 ISampleProvider (QObject *parent=nullptr)
 Ctor.
 
virtual ~ISampleProvider ()
 Dtor.
 
virtual bool isFinished () const
 Finished?
 

Additional Inherited Members

- Static Protected Member Functions inherited from swift::sound::sample_provider::ISampleProvider
static bool verbose ()
 Verbose logs?
 

Detailed Description

Compressor effect.

Definition at line 19 of file simplecompressoreffect.h.

Member Function Documentation

◆ readSamples()

int swift::sound::sample_provider::CSimpleCompressorEffect::readSamples ( QVector< float > &  samples,
qint64  count 
)
virtual

Read samples.

Implements swift::sound::sample_provider::ISampleProvider.

Definition at line 27 of file simplecompressoreffect.cpp.


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