Skip to content

Commit c95c4db

Browse files
author
David Butler
committed
Merge branch 'master' of https://github.com/x42/libltc
2 parents 94f767c + 4573310 commit c95c4db

File tree

5 files changed

+19
-12
lines changed

5 files changed

+19
-12
lines changed

ChangeLog

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2016-12-23 (v1.3.0) Robin Gareus <[email protected]>
2+
* fix potential offset overflow (user provided relative position)
3+
* further improve MSVC compatibility (-infinity)
4+
* fix self-test for windows (binary file i/o)
5+
* add link examples and bindings/wrapper code to documentation
6+
* documentation spelling fixes
7+
18
2015-11-26 (v1.2.0) Robin Gareus <[email protected]>
29
* support older MSVC without C99
310
* fix endianess detection (gcc-4.4 compat)

debian/changelog

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
libltc (1.2.0-1) unstable; urgency=low
1+
libltc (1.3.0-1) unstable; urgency=low
22

33
* Robin's private package. see ../ChangeLog
44
* official debian package at
55
http://anonscm.debian.org/gitweb/?p=pkg-multimedia/libltc.git
66

7-
-- Robin Gareus <[email protected]> Thu, 26 Nov 2015 21:41:27 +0100
7+
-- Robin Gareus <[email protected]> Fri, 23 Dec 2016 04:46:09 +0100
88

99
libltc (1.0.1-1) unstable; urgency=low
1010

doc/man/man3/ltc.h.3

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH "ltc.h" 3 "Thu Nov 26 2015" "Version 1.2.0" "libltc" \" -*- nroff -*-
1+
.TH "ltc.h" 3 "Fri Dec 23 2016" "Version 1.3.0" "libltc" \" -*- nroff -*-
22
.ad l
33
.nh
44
.SH NAME
@@ -361,7 +361,7 @@ unsigned int \fIuser8:4\fP
361361
.PP
362362
Extended LTC frame - includes audio-sample position offsets, volume, etc
363363
.PP
364-
Note: For TV systems, the sample in the LTC audio data stream where the LTC Frame starts is not neccesarily at the same time as the video-frame which is described by the LTC Frame\&.
364+
Note: For TV systems, the sample in the LTC audio data stream where the LTC Frame starts is not necessarily at the same time as the video-frame which is described by the LTC Frame\&.
365365
.PP
366366
\fBoff_start\fP denotes the time of the first transition of bit 0 in the LTC frame\&.
367367
.PP
@@ -939,7 +939,7 @@ Set the volume of the generated LTC signal
939939
.PP
940940
typically LTC is sent at 0dBu ; in EBU callibrated systems that corresponds to \-18dBFS\&. - by default libltc creates \-3dBFS
941941
.PP
942-
since libltc generated 8bit audio-data, the minium dBFS is about \-42dB which corresponds to 1 bit\&.
942+
since libltc generated 8bit audio-data, the minimum dBFS is about \-42dB which corresponds to 1 bit\&.
943943
.PP
944944
0dB corresponds to a signal range of 127 1\&.\&.255 with 128 at the center\&.
945945
.PP

src/decoder.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ static double calc_volume_db(LTCDecoder *d) {
118118
return (20.0 * log10((d->snd_to_biphase_max - d->snd_to_biphase_min) / 255.0));
119119
}
120120

121-
static void parse_ltc(LTCDecoder *d, unsigned char bit, int offset, ltc_off_t posinfo) {
121+
static void parse_ltc(LTCDecoder *d, unsigned char bit, ltc_off_t offset, ltc_off_t posinfo) {
122122
int bit_num, bit_set, byte_num;
123123

124124
if (d->bit_cnt == 0) {
@@ -259,7 +259,7 @@ static void parse_ltc(LTCDecoder *d, unsigned char bit, int offset, ltc_off_t po
259259
}
260260
}
261261

262-
static inline void biphase_decode2(LTCDecoder *d, int offset, ltc_off_t pos) {
262+
static inline void biphase_decode2(LTCDecoder *d, ltc_off_t offset, ltc_off_t pos) {
263263

264264
d->biphase_tics[d->biphase_tic] = d->snd_to_biphase_period;
265265
d->biphase_tic = (d->biphase_tic + 1) % LTC_FRAME_BIT_COUNT;

src/ltc.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,16 @@ extern "C" {
7171

7272
#ifndef DOXYGEN_IGNORE
7373
/* libltc version */
74-
#define LIBLTC_VERSION "1.2.0"
74+
#define LIBLTC_VERSION "1.3.0"
7575
#define LIBLTC_VERSION_MAJOR 1
76-
#define LIBLTC_VERSION_MINOR 2
76+
#define LIBLTC_VERSION_MINOR 3
7777
#define LIBLTC_VERSION_MICRO 0
7878

7979
/* interface revision number
8080
* http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
8181
*/
8282
#define LIBLTC_CUR 11
83-
#define LIBLTC_REV 4
83+
#define LIBLTC_REV 5
8484
#define LIBLTC_AGE 0
8585
#endif /* end DOXYGEN_IGNORE */
8686

@@ -285,7 +285,7 @@ typedef struct LTCFrame LTCFrame;
285285
/**
286286
* Extended LTC frame - includes audio-sample position offsets, volume, etc
287287
*
288-
* Note: For TV systems, the sample in the LTC audio data stream where the LTC Frame starts is not neccesarily at the same time
288+
* Note: For TV systems, the sample in the LTC audio data stream where the LTC Frame starts is not necessarily at the same time
289289
* as the video-frame which is described by the LTC Frame.
290290
*
291291
* \ref off_start denotes the time of the first transition of bit 0 in the LTC frame.
@@ -682,7 +682,7 @@ libltc_API int ltc_encoder_set_bufsize(LTCEncoder *e, double sample_rate, double
682682
* typically LTC is sent at 0dBu ; in EBU callibrated systems that
683683
* corresponds to -18dBFS. - by default libltc creates -3dBFS
684684
*
685-
* since libltc generated 8bit audio-data, the minium dBFS
685+
* since libltc generated 8bit audio-data, the minimum dBFS
686686
* is about -42dB which corresponds to 1 bit.
687687
*
688688
* 0dB corresponds to a signal range of 127

0 commit comments

Comments
 (0)