Ardour  9.0-pre0-582-g084a23a80d
AudioRegionTest Class Reference

#include <audio_region_test.h>

Inheritance diagram for AudioRegionTest:
[legend]

Public Member Functions

virtual void setUp ()
 
virtual void tearDown ()
 

Protected Attributes

std::shared_ptr< ARDOUR::Playlist_playlist
 
std::shared_ptr< ARDOUR::AudioPlaylist_audio_playlist
 
std::shared_ptr< ARDOUR::Source_source
 
std::shared_ptr< ARDOUR::Region_r [16]
 
std::shared_ptr< ARDOUR::AudioRegion_ar [16]
 
- Protected Attributes inherited from TestNeedingSession
ARDOUR::Session_session
 

Detailed Description

A parent class for tests which offers some audio regions, each with a staircase waveform within them.

Definition at line 34 of file audio_region_test.h.

Member Function Documentation

◆ setUp()

virtual void AudioRegionTest::setUp ( )
virtual

Reimplemented from TestNeedingSession.

Reimplemented in PlaylistReadTest, and PlaylistEquivalentRegionsTest.

◆ tearDown()

virtual void AudioRegionTest::tearDown ( )
virtual

Reimplemented from TestNeedingSession.

Reimplemented in PlaylistReadTest, and PlaylistEquivalentRegionsTest.

Member Data Documentation

◆ _ar

std::shared_ptr<ARDOUR::AudioRegion> AudioRegionTest::_ar[16]
protected

AudioRegion downcasts of _r[]

Definition at line 50 of file audio_region_test.h.

◆ _audio_playlist

std::shared_ptr<ARDOUR::AudioPlaylist> AudioRegionTest::_audio_playlist
protected

AudioPlaylist downcast of _playlist

Definition at line 43 of file audio_region_test.h.

◆ _playlist

std::shared_ptr<ARDOUR::Playlist> AudioRegionTest::_playlist
protected

Definition at line 41 of file audio_region_test.h.

◆ _r

std::shared_ptr<ARDOUR::Region> AudioRegionTest::_r[16]
protected

16 regions, of length 100, each referencing a source which is 4096 samples of a staircase waveform.

Definition at line 48 of file audio_region_test.h.

◆ _source

std::shared_ptr<ARDOUR::Source> AudioRegionTest::_source
protected

Definition at line 44 of file audio_region_test.h.


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