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 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/target_stdio/roc_core/print_buffer.h
10
//! @brief Print buffer to stdout.
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 bytes buffer.
21
void
print_buffer
(
const
uint8_t* data,
size_t
size);
22
23
//! Print floats buffer.
24
void
print_buffer
(
const
float
* data,
size_t
size);
25
26
//! Print a slice of bytes buffer.
27
void
print_buffer_slice
(
const
uint8_t* inner,
28
size_t
inner_size,
29
const
uint8_t* outer,
30
size_t
outer_size);
31
32
//! Print a slice of floats buffer.
33
void
print_buffer_slice
(
const
float
* inner,
34
size_t
inner_size,
35
const
float
* outer,
36
size_t
outer_size);
37
38
}
// namespace core
39
}
// namespace roc
40
41
#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 bytes buffer.
roc::core::print_buffer
void print_buffer(const uint8_t *data, size_t size)
Print bytes buffer.
roc
Root namespace.
stddefs.h
Commonly used types and functions.
roc_core
target_stdio
roc_core
print_buffer.h
Generated by
1.9.1