1 /* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * 4 * HDF is dual licensed: you can use it either under the terms of 5 * the GPL, or the BSD license, at your option. 6 * See the LICENSE file in the root of this repository for complete details. 7 */ 8 9 #ifndef AUDIO_DMA_BASE_TEST_H 10 #define AUDIO_DMA_BASE_TEST_H 11 12 #include "hdf_types.h" 13 14 #ifdef __cplusplus 15 #if __cplusplus 16 extern "C" { 17 #endif 18 #endif /* __cplusplus */ 19 20 int32_t AudioDmaBufAllocTest(void); 21 int32_t AudioDmaBufFreeTest(void); 22 int32_t AudioDmaRequestChannelTest(void); 23 int32_t AudioDmaConfigChannelTest(void); 24 int32_t AudioDmaPrepTest(void); 25 int32_t AudioDmaSubmitTest(void); 26 int32_t AudioDmaPendingTest(void); 27 int32_t AudioDmaPauseTest(void); 28 int32_t AudioDmaResumeTest(void); 29 int32_t AudioDmaPointerTest(void); 30 31 #ifdef __cplusplus 32 #if __cplusplus 33 } 34 #endif 35 #endif /* __cplusplus */ 36 37 #endif /* AUDIO_DMA_BASE_TEST_H */ 38