Music Hub
..
A session-wide music playback service
socket_types.h
Go to the documentation of this file.
1
/*
2
* Copyright © 2021-2022 UBports Foundation.
3
*
4
* Contact: Alberto Mardegan <mardy@users.sourceforge.net>
5
*
6
* This program is free software: you can redistribute it and/or modify it
7
* under the terms of the GNU Lesser General Public License version 3,
8
* as published by the Free Software Foundation.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#ifndef LOMIRI_MEDIAHUB_SOCKET_TYPES_H
20
#define LOMIRI_MEDIAHUB_SOCKET_TYPES_H
21
22
namespace
lomiri
{
23
namespace
MediaHub {
24
25
struct
BufferMetadata
26
{
27
int
width
;
28
int
height
;
29
int
fourcc
;
30
int
stride
;
31
int
offset
;
32
};
33
34
struct
BufferData
35
{
36
int
fd
;
37
BufferMetadata
meta
;
38
};
39
40
}
// namespace MediaHub
41
}
// namespace lomiri
42
43
#endif // LOMIRI_MEDIAHUB_SOCKET_TYPES_H
lomiri::MediaHub::BufferMetadata
Definition:
socket_types.h:25
lomiri::MediaHub::BufferData::fd
int fd
Definition:
socket_types.h:36
lomiri::MediaHub::BufferMetadata::width
int width
Definition:
socket_types.h:27
lomiri::MediaHub::BufferMetadata::stride
int stride
Definition:
socket_types.h:30
lomiri::MediaHub::BufferData
Definition:
socket_types.h:34
lomiri::MediaHub::BufferMetadata::fourcc
int fourcc
Definition:
socket_types.h:29
lomiri::MediaHub::BufferData::meta
BufferMetadata meta
Definition:
socket_types.h:37
lomiri::MediaHub::BufferMetadata::height
int height
Definition:
socket_types.h:28
lomiri
Definition:
dbus_utils.h:24
lomiri::MediaHub::BufferMetadata::offset
int offset
Definition:
socket_types.h:31
src
lib
MediaHub
socket_types.h
Generated on Fri Dec 16 2022 11:18:10 for Music Hub by
1.8.17