OpenShot Library | libopenshot  0.1.2
Public Member Functions | Public Attributes | List of all members
openshot::AudioLocation Struct Reference

This struct holds the associated video frame and starting sample # for an audio packet. More...

#include <FFmpegReader.h>

Public Member Functions

int is_near (AudioLocation location, int samples_per_frame, int amount)
 

Public Attributes

int frame
 
int sample_start
 

Detailed Description

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.

Member Function Documentation

◆ is_near()

int AudioLocation::is_near ( AudioLocation  location,
int  samples_per_frame,
int  amount 
)

Definition at line 78 of file FFmpegReader.cpp.

Member Data Documentation

◆ frame

int openshot::AudioLocation::frame

Definition at line 61 of file FFmpegReader.h.

◆ sample_start

int openshot::AudioLocation::sample_start

Definition at line 62 of file FFmpegReader.h.


The documentation for this struct was generated from the following files: