|
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 -*- |
2 | 2 | .ad l
|
3 | 3 | .nh
|
4 | 4 | .SH NAME
|
@@ -125,6 +125,12 @@ ltc.h \- libltc - en+decode linear timecode
|
125 | 125 | .RI "void \fBltc_encoder_get_timecode\fP (\fBLTCEncoder\fP *e, \fBSMPTETimecode\fP *t)"
|
126 | 126 | .br
|
127 | 127 | .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 |
128 | 134 | .RI "int \fBltc_encoder_inc_timecode\fP (\fBLTCEncoder\fP *e)"
|
129 | 135 | .br
|
130 | 136 | .ti -1c
|
@@ -934,6 +940,19 @@ Internally this call uses \fBltc_time_to_frame\fP because the LTCEncoder operate
|
934 | 940 | \fBExamples: \fP
|
935 | 941 | .in +1c
|
936 | 942 | \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 | + |
937 | 956 | .SS "int ltc_encoder_set_volume (\fBLTCEncoder\fP * e, double dBFS)"
|
938 | 957 | Set the volume of the generated LTC signal
|
939 | 958 | .PP
|
@@ -1000,6 +1019,15 @@ Decrement the timecode by one Frame (1/framerate seconds) and set the Frame's pa
|
1000 | 1019 | .RE
|
1001 | 1020 | .PP
|
1002 | 1021 |
|
| 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 | + |
1003 | 1031 | .SS "int ltc_frame_increment (\fBLTCFrame\fP * frame, int fps, enum \fBLTC_TV_STANDARD\fP standard, int flags)"
|
1004 | 1032 | Increment the timecode by one Frame (1/framerate seconds) and set the Frame's parity bit accordingly (see \fBltc_frame_set_parity\fP)
|
1005 | 1033 | .PP
|
|
0 commit comments