Skip to content

Commit ea3b250

Browse files
committed
finalize changelog v1.3.1
1 parent da1f8ca commit ea3b250

File tree

4 files changed

+40
-8
lines changed

4 files changed

+40
-8
lines changed

Diff for: ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2019-04-04 (v1.3.1) Robin Gareus <[email protected]>
2+
* Added methods to write and read numbers from user bytes
3+
* Fix compilation for Ardunio/AVR (missing rint)
4+
15
2016-12-23 (v1.3.0) Robin Gareus <[email protected]>
26
* fix potential offset overflow (user provided relative position)
37
* further improve MSVC compatibility (-infinity)

Diff for: debian/changelog

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
libltc (1.3.0-1) unstable; urgency=low
1+
libltc (1.3.1-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]> Fri, 23 Dec 2016 04:46:09 +0100
7+
-- Robin Gareus <[email protected]> Thu, 04 Apr 2019 03:36:09 +0200
88

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

Diff for: doc/man/man3/ltc.h.3

+29-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH "ltc.h" 3 "Fri Dec 23 2016" "Version 1.3.0" "libltc" \" -*- nroff -*-
1+
.TH "ltc.h" 3 "Thu Apr 4 2019" "Version 1.3.1" "libltc" \" -*- nroff -*-
22
.ad l
33
.nh
44
.SH NAME
@@ -125,6 +125,12 @@ ltc.h \- libltc - en+decode linear timecode
125125
.RI "void \fBltc_encoder_get_timecode\fP (\fBLTCEncoder\fP *e, \fBSMPTETimecode\fP *t)"
126126
.br
127127
.ti -1c
128+
.RI "void \fBltc_encoder_set_user_bits\fP (\fBLTCEncoder\fP *e, unsigned long data)"
129+
.br
130+
.ti -1c
131+
.RI "unsigned long \fBltc_frame_get_user_bits\fP (\fBLTCFrame\fP *f)"
132+
.br
133+
.ti -1c
128134
.RI "int \fBltc_encoder_inc_timecode\fP (\fBLTCEncoder\fP *e)"
129135
.br
130136
.ti -1c
@@ -934,6 +940,19 @@ Internally this call uses \fBltc_time_to_frame\fP because the LTCEncoder operate
934940
\fBExamples: \fP
935941
.in +1c
936942
\fBexample_encode\&.c\fP, and \fBltcencode\&.c\fP\&.
943+
.SS "void ltc_encoder_set_user_bits (\fBLTCEncoder\fP * e, unsigned long data)"
944+
Set the user-bits of the frame to the given data\&.
945+
.PP
946+
The data should be a 32-bits unsigned integer\&. It is written LSB first continiously int the eight user fields\&.
947+
.PP
948+
\fBParameters:\fP
949+
.RS 4
950+
\fIe\fP encoder handle
951+
.br
952+
\fIdata\fP the data to write
953+
.RE
954+
.PP
955+
937956
.SS "int ltc_encoder_set_volume (\fBLTCEncoder\fP * e, double dBFS)"
938957
Set the volume of the generated LTC signal
939958
.PP
@@ -1000,6 +1019,15 @@ Decrement the timecode by one Frame (1/framerate seconds) and set the Frame's pa
10001019
.RE
10011020
.PP
10021021

1022+
.SS "unsigned long ltc_frame_get_user_bits (\fBLTCFrame\fP * f)"
1023+
Get a 32-bits unsigned integer from the user-data bits\&. The data should be written LSB first in the frame
1024+
.PP
1025+
\fBParameters:\fP
1026+
.RS 4
1027+
\fIe\fP encoder handle
1028+
.RE
1029+
.PP
1030+
10031031
.SS "int ltc_frame_increment (\fBLTCFrame\fP * frame, int fps, enum \fBLTC_TV_STANDARD\fP standard, int flags)"
10041032
Increment the timecode by one Frame (1/framerate seconds) and set the Frame's parity bit accordingly (see \fBltc_frame_set_parity\fP)
10051033
.PP

Diff for: src/ltc.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,17 @@ extern "C" {
6363

6464
#ifndef DOXYGEN_IGNORE
6565
/* libltc version */
66-
#define LIBLTC_VERSION "1.3.0"
66+
#define LIBLTC_VERSION "1.3.1"
6767
#define LIBLTC_VERSION_MAJOR 1
6868
#define LIBLTC_VERSION_MINOR 3
69-
#define LIBLTC_VERSION_MICRO 0
69+
#define LIBLTC_VERSION_MICRO 1
7070

7171
/* interface revision number
7272
* http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
7373
*/
74-
#define LIBLTC_CUR 11
75-
#define LIBLTC_REV 5
76-
#define LIBLTC_AGE 0
74+
#define LIBLTC_CUR 12
75+
#define LIBLTC_REV 0
76+
#define LIBLTC_AGE 1
7777
#endif /* end DOXYGEN_IGNORE */
7878

7979
/**

0 commit comments

Comments
 (0)