nRF Connect SDK API
3.4.99
Toggle main menu visibility
Loading...
Searching...
No Matches
contin_array.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
7
#ifndef CONTIN_ARRAY_H
8
#define CONTIN_ARRAY_H
9
10
#include <zephyr/net_buf.h>
11
#include <zephyr/types.h>
12
#include <stddef.h>
13
#include <stdbool.h>
14
#include <stdint.h>
15
#include <
audio_defines.h
>
16
24
26
#define PCM_CONT_MAX_CARRIER_BIT_DEPTH (32)
27
48
int
contin_array_create
(
void
*pcm_cont, uint32_t pcm_cont_size,
void
const
*
const
pcm_finite,
49
uint32_t pcm_finite_size, uint32_t *_finite_pos);
50
80
int
contin_array_buf_create
(
struct
net_buf *pcm_contin,
void
const
*
const
pcm_finite,
81
uint16_t pcm_finite_size, uint32_t locations,
82
uint16_t *
const
_finite_pos);
83
111
int
contin_array_net_buf_create
(
struct
net_buf *pcm_contin,
struct
net_buf
const
*
const
pcm_finite,
112
uint32_t locations, uint16_t *
const
_finite_pos);
113
117
#endif
/* CONTIN_ARRAY_H */
audio_defines.h
Globally accessible audio related defines.
contin_array_net_buf_create
int contin_array_net_buf_create(struct net_buf *pcm_contin, struct net_buf const *const pcm_finite, uint32_t locations, uint16_t *const _finite_pos)
Creates a continuous array in the locations in the net_buf as given in locations, from a single chann...
contin_array_create
int contin_array_create(void *pcm_cont, uint32_t pcm_cont_size, void const *const pcm_finite, uint32_t pcm_finite_size, uint32_t *_finite_pos)
Creates a continuous array from a finite array.
contin_array_buf_create
int contin_array_buf_create(struct net_buf *pcm_contin, void const *const pcm_finite, uint16_t pcm_finite_size, uint32_t locations, uint16_t *const _finite_pos)
Creates a continuous array in the locations in the net_buf of given in locations, from a single chann...
include
contin_array.h
Generated on
for nRF Connect SDK API by
1.17.0