This commit is contained in:
2021-10-14 13:47:35 +02:00
commit 6625a8dfaa
4026 changed files with 844291 additions and 0 deletions
@@ -0,0 +1,38 @@
///-------------------------------------------------------------------------------------------------
///
/// \file Utils.hpp
/// \brief Utils for LSL within OpenViBE
/// \author Thomas Prampart (INRIA).
/// \version 0.0.1.
/// \date Thu Apr 1 2021.
///
/// \copyright (C) 2021 INRIA
///
/// This program is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Affero General Public License as published
/// by the Free Software Foundation, either version 3 of the License, or
/// (at your option) any later version.
///
/// This program is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU Affero General Public License for more details.
///
/// You should have received a copy of the GNU Affero General Public License
/// along with this program. If not, see <https://www.gnu.org/licenses/>.
///-------------------------------------------------------------------------------------------------
#pragma once
namespace OpenViBE {
namespace LabStreamLayer {
///
/// \brief Get LSL relative time for an OV time
/// \param time The time in OV time referential
/// \return The time (in seconds) in lsl clock referential
double getLSLRelativeTime(const CTime& time);
} // namespace LabStreamLayer
} // namespace OpenViBE