SMPTEFrameExt(3) libltcsmpte SMPTEFrameExt(3)NAME
SMPTEFrameExt -
Extended SMPTE frame The maximum error for startpos is 1/80 of a frame.
SYNOPSIS
#include <ltcsmpte.h>
Data Fields
SMPTEFrame base
the SMPTE decoded from the audio
int delayed
detected jitter in LTC-framerate/80 unit(s) - bit count in LTC frame.
long int startpos
the approximate sample in the stream corresponding to the start of the LTC SMPTE frame.
long int endpos
the sample in the stream corresponding to the end of the LTC SMPTE frame.
Detailed Description
Extended SMPTE frame The maximum error for startpos is 1/80 of a frame.
Usually it is 0;
Examples:
tests/decoder.c.
Definition at line 199 of file ltcsmpte.h.
Field Documentation
SMPTEFrame SMPTEFrameExt::base
the SMPTE decoded from the audio
Examples:
tests/decoder.c.
Definition at line 200 of file ltcsmpte.h.
int SMPTEFrameExt::delayed
detected jitter in LTC-framerate/80 unit(s) - bit count in LTC frame.
Definition at line 201 of file ltcsmpte.h.
long int SMPTEFrameExt::endpos
the sample in the stream corresponding to the end of the LTC SMPTE frame.
Examples:
tests/decoder.c.
Definition at line 203 of file ltcsmpte.h.
long int SMPTEFrameExt::startpos
the approximate sample in the stream corresponding to the start of the LTC SMPTE frame.
Examples:
tests/decoder.c.
Definition at line 202 of file ltcsmpte.h.
Author
Generated automatically by Doxygen for libltcsmpte from the source code.
Version 0.4.4 Fri Apr 27 2012 SMPTEFrameExt(3)
Check Out this Related Man Page
AFGETFRAMESIZE(3)AFGETFRAMESIZE(3)NAME
afGetFrameSize - calculate the frame size in bytes for an audio track
SYNOPSIS
#include <audiofile.h>
float afGetFrameSize (AFfilehandle file, int track, int expand3to4);
PARAMETERS
file is a valid AFfilehandle.
track is an integer which refers to a specific audio track in the file. At present no supported audio file format allows for more than one
audio track within a file, so track should always be AF_DEFAULT_TRACK.
expand3to4 is a boolean-valued integer indicating whether frame size calculation will treat 24-bit data as having a size of 3 bytes or 4
bytes.
DESCRIPTION
afGetFrameSize returns the number of bytes in a frame in a given audio track.
A sample frame consists of one or more samples. For a monaural track, a sample frame will always contain one sample. For a stereophonic
track, a sample frame will always contain two samples, one for the left channel and one for the right channel.
A non-zero value of expand3to4 should be used when calculating the frame size for storage in memory (since 24-bit audio data is presented
in memory as a 4-byte sign-extended integer), while a value of zero should be used for calculating storage on disk where no padding is
added. The parameter expand3to4 is ignored unless the specified audio track contains 24-bit audio data.
AUTHOR
Michael Pruett <michael@68k.org>
Audio File Library 0.3.6 03/06/2013 AFGETFRAMESIZE(3)