summaryrefslogtreecommitdiffstats
path: root/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/AudioEncoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/AudioEncoder.h')
-rw-r--r--xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/AudioEncoder.h29
1 files changed, 9 insertions, 20 deletions
diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/AudioEncoder.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/AudioEncoder.h
index 7d2464d..b98884e 100644
--- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/AudioEncoder.h
+++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/AudioEncoder.h
@@ -1,24 +1,13 @@
1#pragma once
2/* 1/*
3 * Copyright (C) 2005-2017 Team Kodi 2 * Copyright (C) 2005-2018 Team Kodi
4 * http://kodi.tv 3 * This file is part of Kodi - https://kodi.tv
5 *
6 * This Program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2, or (at your option)
9 * any later version.
10 *
11 * This Program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with Kodi; see the file COPYING. If not, see
18 * <http://www.gnu.org/licenses/>.
19 * 4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
20 */ 7 */
21 8
9#pragma once
10
22#include "../AddonBase.h" 11#include "../AddonBase.h"
23 12
24namespace kodi { namespace addon { class CInstanceAudioEncoder; }} 13namespace kodi { namespace addon { class CInstanceAudioEncoder; }}
@@ -136,10 +125,10 @@ namespace addon
136 //========================================================================== 125 //==========================================================================
137 /// \brief Write block of data 126 /// \brief Write block of data
138 /// 127 ///
139 /// \param[in] data Pointer to the array of elements to be 128 /// \param[in] data Pointer to the array of elements to be
140 /// written 129 /// written
141 /// \param[in] length Size in bytes to be written. 130 /// \param[in] length Size in bytes to be written.
142 /// \return The total number of bytes 131 /// \return The total number of bytes
143 /// successfully written is returned. 132 /// successfully written is returned.
144 int Write(const uint8_t* data, int length) 133 int Write(const uint8_t* data, int length)
145 { 134 {
@@ -154,7 +143,7 @@ namespace addon
154 /// 143 ///
155 /// \param[in] position the position that you want to seek to 144 /// \param[in] position the position that you want to seek to
156 /// \param[in] whence [optional] offset relative to 145 /// \param[in] whence [optional] offset relative to
157 /// You can set the value of whence to one 146 /// You can set the value of whence to one
158 /// of three things: 147 /// of three things:
159 /// | Value | int | Description | 148 /// | Value | int | Description |
160 /// |:--------:|:---:|:---------------------------------------------------| 149 /// |:--------:|:---:|:---------------------------------------------------|