mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-24 15:11:11 +01:00
Extensive changes to improve NoteTrack display and (some) editing, NoteTrack playback via MIDI, and Midi-to-Audio alignment.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "stdlib.h"
|
||||
#include "audioreader.h"
|
||||
#include "allegro.h"
|
||||
#include "scorealign.h"
|
||||
#include "scorealign-glue.h"
|
||||
#include "audiomixerreader.h"
|
||||
|
||||
@@ -26,7 +27,7 @@ Audio_mixer_reader::Audio_mixer_reader(void *mixer_,
|
||||
index = 0;
|
||||
channels = chans;
|
||||
sample_rate = srate;
|
||||
total_frames = end_time * srate + 0.5 /* for rounding */;
|
||||
total_frames = (long) (end_time * srate + 0.5 /* for rounding */);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user