blob: d10d1eac0ff929160af23167279b4e4162a1c176 [file] [log] [blame]
Andy Hunge0ccb202014-07-27 20:11:31 -07001/*
2 * Copyright (C) 2014 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef ANDROID_AUDIO_PRIVATE_H
18#define ANDROID_AUDIO_PRIVATE_H
19
20#include <stdint.h>
21
22__BEGIN_DECLS
23
24/* Defines not necessary for external use but kept here to be common
25 * to the audio_utils library.
26 */
27
28/* struct representation of 3 bytes for packed PCM 24 bit data.
29 * The naming follows the ARM NEON convention.
30 */
31typedef struct {uint8_t c[3];} __attribute__((__packed__)) uint8x3_t;
32
33__END_DECLS
34
35#endif /*ANDROID_AUDIO_PRIVATE_H*/