• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_PLATFORM_BASE_TEST_H
10 #define AUDIO_PLATFORM_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 PlatformDataFromCardTest(void);
21 int32_t AudioBytesToFramesTest(void);
22 int32_t AudioDataBigEndianChangeTest(void);
23 int32_t AudioFramatToBitWidthTest(void);
24 int32_t AudioSetPcmInfoTest(void);
25 int32_t AudioSetRenderBufInfoTest(void);
26 int32_t AudioSetCaptureBufInfoTest(void);
27 int32_t AudioPcmWriteTest(void);
28 int32_t AudioPcmReadTest(void);
29 int32_t AudioPcmMmapWriteTest(void);
30 int32_t AudioPcmMmapReadTest(void);
31 int32_t AudioRenderOpenTest(void);
32 int32_t AudioCaptureOpenTest(void);
33 int32_t AudioRenderCloseTest(void);
34 int32_t AudioPcmPointerTest(void);
35 int32_t AudioCaptureCloseTest(void);
36 int32_t AudioHwParamsTest(void);
37 int32_t AudioRenderPrepareTest(void);
38 int32_t AudioCapturePrepareTest(void);
39 int32_t AudioRenderTriggerTest(void);
40 int32_t AudioCaptureTriggerTest(void);
41 
42 #ifdef __cplusplus
43 #if __cplusplus
44 }
45 #endif
46 #endif /* __cplusplus */
47 
48 #endif /* AUDIO_PLATFORM_BASE_TEST_H */
49