From 5c2ccaf32400d9298282c1b664f673e3c3115cb1 Mon Sep 17 00:00:00 2001 From: Alban Peignier Date: Sat, 4 Oct 2014 11:13:03 +0200 Subject: [PATCH 1/2] Defines RDWaveFile ext_time_length/time_length for flac format --- lib/rdwavefile.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/rdwavefile.cpp b/lib/rdwavefile.cpp index c09f9985..cf18a5cd 100644 --- a/lib/rdwavefile.cpp +++ b/lib/rdwavefile.cpp @@ -3759,6 +3759,8 @@ bool RDWaveFile::GetFlacStreamInfo() bits_per_sample=sinfo.data.stream_info.bits_per_sample; sample_length=sinfo.data.stream_info.total_samples; channels=sinfo.data.stream_info.channels; + ext_time_length=(unsigned)(1000.0*(double)sample_length/(double)samples_per_sec); + time_length=ext_time_length/1000; return true; #else return false; From 8b5fccbf7f3a8d1c55c132e84a3ad392f75052a7 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Wed, 8 Oct 2014 18:56:25 -0400 Subject: [PATCH 2/2] 2014-10-08 Fred Gleason * Applied a patch from albanpeignier that fixed a random/null end point with FLAC imports [GitHub pull request #000034]. --- ChangeLog | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 991e2743..195071bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14532,3 +14532,6 @@ code for music events. * Added an 'EVENTS.HAVE_CODE2' field to the database. * Incremented the database version to 241. +2014-10-08 Fred Gleason + * Applied a patch from albanpeignier that fixed a random/null + end point with FLAC imports [GitHub pull request #000034].