18d6344f9Sopenharmony_ci/*
28d6344f9Sopenharmony_ci * Copyright (C) 2022 HiHope Open Source Organization .
38d6344f9Sopenharmony_ci *
48d6344f9Sopenharmony_ci * HDF is dual licensed: you can use it either under the terms of
58d6344f9Sopenharmony_ci * the GPL, or the BSD license, at your option.
68d6344f9Sopenharmony_ci * See the LICENSE file in the root of this repository for complete details.
78d6344f9Sopenharmony_ci */
88d6344f9Sopenharmony_ci
98d6344f9Sopenharmony_ci#ifndef RK3588_AUDIO_COMMON_H
108d6344f9Sopenharmony_ci#define RK3588_AUDIO_COMMON_H
118d6344f9Sopenharmony_ci
128d6344f9Sopenharmony_citypedef enum {
138d6344f9Sopenharmony_ci    AUDIO_DEVICE_SAMPLE_RATE_8000   = 8000,    /* 8kHz sample_rate */
148d6344f9Sopenharmony_ci    AUDIO_DEVICE_SAMPLE_RATE_12000  = 12000,   /* 12kHz sample_rate */
158d6344f9Sopenharmony_ci    AUDIO_DEVICE_SAMPLE_RATE_11025  = 11025,   /* 11.025kHz sample_rate */
168d6344f9Sopenharmony_ci    AUDIO_DEVICE_SAMPLE_RATE_16000  = 16000,   /* 16kHz sample_rate */
178d6344f9Sopenharmony_ci    AUDIO_DEVICE_SAMPLE_RATE_22050  = 22050,   /* 22.050kHz sample_rate */
188d6344f9Sopenharmony_ci    AUDIO_DEVICE_SAMPLE_RATE_24000  = 24000,   /* 24kHz sample_rate */
198d6344f9Sopenharmony_ci    AUDIO_DEVICE_SAMPLE_RATE_32000  = 32000,   /* 32kHz sample_rate */
208d6344f9Sopenharmony_ci    AUDIO_DEVICE_SAMPLE_RATE_44100  = 44100,   /* 44.1kHz sample_rate */
218d6344f9Sopenharmony_ci    AUDIO_DEVICE_SAMPLE_RATE_48000  = 48000,   /* 48kHz sample_rate */
228d6344f9Sopenharmony_ci    AUDIO_DEVICE_SAMPLE_RATE_64000  = 64000,   /* 64kHz sample_rate */
238d6344f9Sopenharmony_ci    AUDIO_DEVICE_SAMPLE_RATE_88200  = 88200,   /* 88.2kHz sample_rate */
248d6344f9Sopenharmony_ci    AUDIO_DEVICE_SAMPLE_RATE_96000  = 96000,   /* 96kHz sample_rate */
258d6344f9Sopenharmony_ci    AUDIO_DEVICE_SAMPLE_RATE_176400  = 176400, /* 176.4kHz sample_rate */
268d6344f9Sopenharmony_ci    AUDIO_DEVICE_SAMPLE_RATE_192000  = 192000, /* 192kHz sample_rate */
278d6344f9Sopenharmony_ci    AUDIO_DEVICE_SAMPLE_RATE_BUTT,
288d6344f9Sopenharmony_ci} AudioDeviceSampleRate;
298d6344f9Sopenharmony_ci
308d6344f9Sopenharmony_ci
318d6344f9Sopenharmony_ci#endif // __RK3588_AUDIO_COMMON_H__
32