OpenShot Library | libopenshot
0.1.9
|
This struct holds the associated video frame and starting sample # for an audio packet. More...
#include <FFmpegReader.h>
Public Member Functions | |
bool | is_near (AudioLocation location, int samples_per_frame, int64_t amount) |
Public Attributes | |
int64_t | frame |
int | sample_start |
This struct holds the associated video frame and starting sample # for an audio packet.
Because audio packets do not match up with video frames, this helps determine exactly where the audio packet's samples belong.
Definition at line 59 of file FFmpegReader.h.
bool AudioLocation::is_near | ( | AudioLocation | location, |
int | samples_per_frame, | ||
int64_t | amount | ||
) |
Definition at line 86 of file FFmpegReader.cpp.
int64_t openshot::AudioLocation::frame |
Definition at line 61 of file FFmpegReader.h.
int openshot::AudioLocation::sample_start |
Definition at line 62 of file FFmpegReader.h.