Carla: Misc fixing

This commit is contained in:
falkTX
2014-09-27 00:31:28 +01:00
parent 5dddbe7c30
commit 9f6c9d96ef
2 changed files with 3 additions and 4 deletions

View File

@@ -46,7 +46,6 @@ static const double ticksPerBeat = 48.0;
/*
* Current TODO items:
* - get plugin instance name (to use in external window title)
* - buffer-size change callback
* - offline mode change callback
* - midi output
* - background artwork
@@ -330,7 +329,7 @@ void CarlaInstrument::play(sampleFrame* workingBuffer)
song* const s = engine::getSong();
fTimeInfo.playing = s->isPlaying();
fTimeInfo.frame = s->getPlayPos(s->playMode()).frames(engine::framesPerTick());
fTimeInfo.usecs = s->getMilliseconds()/1000;
fTimeInfo.usecs = s->getMilliseconds()*1000;
fTimeInfo.bbt.bar = s->getTacts() + 1;
fTimeInfo.bbt.beat = s->getBeat() + 1;
fTimeInfo.bbt.tick = s->getBeatTicks();

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef _CARLA_H
#define _CARLA_H
#ifndef CARLA_H
#define CARLA_H
#include "CarlaNative.h"