mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-29 18:07:42 +01:00
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
28 lines
480 B
C++
28 lines
480 B
C++
#include <cassert>
|
|
#include "ardour/tempo.h"
|
|
#include "bbt_test.h"
|
|
|
|
CPPUNIT_TEST_SUITE_REGISTRATION(BBTTest);
|
|
|
|
using namespace std;
|
|
using namespace ARDOUR;
|
|
|
|
using Timecode::BBT_Time;
|
|
|
|
void
|
|
BBTTest::addTest ()
|
|
{
|
|
TempoMap map(48000);
|
|
Tempo tempo(120, 4.0);
|
|
Meter meter(4.0, 4.0);
|
|
|
|
/* no need to supply the sample for a new music-locked meter */
|
|
map.add_meter (meter, BBT_Time(2, 1, 0), 0, MusicTime);
|
|
|
|
/* add some good stuff here */
|
|
}
|
|
|
|
void
|
|
BBTTest::subtractTest ()
|
|
{
|
|
}
|