OpenShot Library | libopenshot 1.1.1
AudioLocation.h
Go to the documentation of this file.
1
9// Copyright (c) 2008-2023 OpenShot Studios, LLC
10//
11// SPDX-License-Identifier: LGPL-3.0-or-later
12
13#ifndef OPENSHOT_AUDIOLOCATION_H
14#define OPENSHOT_AUDIOLOCATION_H
15
16#include <cstdint>
17
18namespace openshot
19{
27 int64_t frame;
29
30 bool is_near(AudioLocation location, int samples_per_frame, int64_t amount);
33 };
34}
35
36#endif
This namespace is the default namespace for all code in the openshot library.
Definition: AnimatedCurve.h:24
This struct holds the associated video frame and starting sample # for an audio packet.
Definition: AudioLocation.h:26
AudioLocation(int64_t frame, int sample_start)
Definition: AudioLocation.h:32
bool is_near(AudioLocation location, int samples_per_frame, int64_t amount)