Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::StripSilence Class Reference

A filter to strip silence from regions. More...

#include <strip_silence.h>

Inheritance diagram for ARDOUR::StripSilence:
[legend]

Public Member Functions

 StripSilence (Session &, const AudioIntervalMap &, samplecnt_t fade_length)
 
int run (std::shared_ptr< ARDOUR::Region >, PBD::Progress *progress=0)
 
- Public Member Functions inherited from ARDOUR::Filter
virtual ~Filter ()
 

Private Attributes

const AudioIntervalMap_smap
 
samplecnt_t _fade_length
 fade in/out to use on trimmed regions, in samples More...
 

Additional Inherited Members

- Public Attributes inherited from ARDOUR::Filter
std::vector< std::shared_ptr< ARDOUR::Region > > results
 
- Protected Member Functions inherited from ARDOUR::Filter
 Filter (ARDOUR::Session &s)
 
int make_new_sources (std::shared_ptr< ARDOUR::Region >, ARDOUR::SourceList &, std::string suffix="", bool use_session_sample_rate=true)
 
int finish (std::shared_ptr< ARDOUR::Region >, ARDOUR::SourceList &, std::string region_name="")
 
- Protected Attributes inherited from ARDOUR::Filter
ARDOUR::Sessionsession
 

Detailed Description

A filter to strip silence from regions.

Definition at line 26 of file strip_silence.h.

Constructor & Destructor Documentation

◆ StripSilence()

ARDOUR::StripSilence::StripSilence ( Session ,
const AudioIntervalMap ,
samplecnt_t  fade_length 
)

Member Function Documentation

◆ run()

int ARDOUR::StripSilence::run ( std::shared_ptr< ARDOUR::Region ,
PBD::Progress progress = 0 
)
virtual

Implements ARDOUR::Filter.

Member Data Documentation

◆ _fade_length

samplecnt_t ARDOUR::StripSilence::_fade_length
private

fade in/out to use on trimmed regions, in samples

Definition at line 35 of file strip_silence.h.

◆ _smap

const AudioIntervalMap& ARDOUR::StripSilence::_smap
private

Definition at line 34 of file strip_silence.h.


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