27 lines
442 B
C
27 lines
442 B
C
![]() |
#ifndef __AUDIO_PLAYER_CLIENT_H__
|
||
|
#define __AUDIO_PLAYER_CLIENT_H__
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
|
||
|
typedef enum
|
||
|
{
|
||
|
VOICE_DINGDONG = 0,
|
||
|
VOICE_MAX_INDEX
|
||
|
} voice_index_t;
|
||
|
|
||
|
|
||
|
void audio_player_init(void);
|
||
|
void test_audio();
|
||
|
void audio_player_playvoice(voice_index_t index);
|
||
|
void stop_audio_player();
|
||
|
|
||
|
|
||
|
void http_download(char *url);
|
||
|
void example_httpc_get2(char *url);
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
#endif
|