Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
print_buffer.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015 Roc Streaming authors
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
*/
8
9
//! @file roc_core/print_buffer.h
10
//! @brief Print buffer to console.
11
12
#ifndef ROC_CORE_PRINT_BUFFER_H_
13
#define ROC_CORE_PRINT_BUFFER_H_
14
15
#include "
roc_core/stddefs.h
"
16
17
namespace
roc
{
18
namespace
core {
19
20
//! Print buffer.
21
void
print_buffer
(
const
uint8_t* data,
size_t
size);
22
23
//! Print buffer.
24
void
print_buffer
(
const
uint16_t* data,
size_t
size);
25
26
//! Print buffer.
27
void
print_buffer
(
const
uint32_t* data,
size_t
size);
28
29
//! Print buffer.
30
void
print_buffer
(
const
uint64_t* data,
size_t
size);
31
32
//! Print buffer.
33
void
print_buffer
(
const
int8_t* data,
size_t
size);
34
35
//! Print buffer.
36
void
print_buffer
(
const
int16_t* data,
size_t
size);
37
38
//! Print buffer.
39
void
print_buffer
(
const
int32_t* data,
size_t
size);
40
41
//! Print buffer.
42
void
print_buffer
(
const
int64_t* data,
size_t
size);
43
44
//! Print floats buffer.
45
void
print_buffer
(
const
float
* data,
size_t
size);
46
47
//! Print floats buffer.
48
void
print_buffer
(
const
double
* data,
size_t
size);
49
50
//! Print a slice of a buffer.
51
void
print_buffer_slice
(
const
uint8_t* inner,
52
size_t
inner_size,
53
const
uint8_t* outer,
54
size_t
outer_size);
55
56
//! Print a slice of a buffer.
57
void
print_buffer_slice
(
const
uint16_t* inner,
58
size_t
inner_size,
59
const
uint16_t* outer,
60
size_t
outer_size);
61
62
//! Print a slice of a buffer.
63
void
print_buffer_slice
(
const
uint32_t* inner,
64
size_t
inner_size,
65
const
uint32_t* outer,
66
size_t
outer_size);
67
68
//! Print a slice of a buffer.
69
void
print_buffer_slice
(
const
uint64_t* inner,
70
size_t
inner_size,
71
const
uint64_t* outer,
72
size_t
outer_size);
73
74
//! Print a slice of a buffer.
75
void
print_buffer_slice
(
const
int8_t* inner,
76
size_t
inner_size,
77
const
int8_t* outer,
78
size_t
outer_size);
79
80
//! Print a slice of a buffer.
81
void
print_buffer_slice
(
const
int16_t* inner,
82
size_t
inner_size,
83
const
int16_t* outer,
84
size_t
outer_size);
85
86
//! Print a slice of a buffer.
87
void
print_buffer_slice
(
const
int32_t* inner,
88
size_t
inner_size,
89
const
int32_t* outer,
90
size_t
outer_size);
91
92
//! Print a slice of a buffer.
93
void
print_buffer_slice
(
const
int64_t* inner,
94
size_t
inner_size,
95
const
int64_t* outer,
96
size_t
outer_size);
97
98
//! Print a slice of a buffer.
99
void
print_buffer_slice
(
const
float
* inner,
100
size_t
inner_size,
101
const
float
* outer,
102
size_t
outer_size);
103
104
//! Print a slice of a buffer.
105
void
print_buffer_slice
(
const
double
* inner,
106
size_t
inner_size,
107
const
double
* outer,
108
size_t
outer_size);
109
110
}
// namespace core
111
}
// namespace roc
112
113
#endif
// ROC_CORE_PRINT_BUFFER_H_
roc::core::print_buffer_slice
void print_buffer_slice(const uint8_t *inner, size_t inner_size, const uint8_t *outer, size_t outer_size)
Print a slice of a buffer.
roc::core::print_buffer
void print_buffer(const uint8_t *data, size_t size)
Print buffer.
roc
Root namespace.
stddefs.h
Commonly used types and functions.
roc_core
print_buffer.h
Generated by
1.9.1