6 #ifndef __UVOICE_PLAYER_H__
7 #define __UVOICE_PLAYER_H__
40 int (*complete)(void);
41 int (*stop_async)(void);
42 int (*pause_async)(void);
43 int (*resume_async)(void);
44 int (*set_source)(
char *source);
45 int (*clr_source)(void);
47 int (*put_stream)(
const uint8_t *buffer,
int nbytes);
48 int (*clr_stream)(
int immediate);
49 int (*play_list)(
char **list);
50 int (*set_pcminfo)(
int rate,
int channels,
int bits,
int frames);
51 int (*get_duration)(
int *duration);
52 int (*get_position)(
int *position);
53 int (*set_volume)(
int volume);
54 int (*get_volume)(
int *volume);
55 int (*volume_range)(
int *max,
int *min);
56 int (*seek)(
int second);
57 int (*playback)(
char *source);
58 int (*wait_complete)(void);
59 int (*download)(
char *name);
60 int (*download_abort)(void);
62 int (*set_fade)(
int out_period,
int in_period);
66 int (*set_standby)(
int msec);
67 int (*eq_enable)(
int enable);
68 int (*state_dump)(void);
69 int (*pcmdump_enable)(
int enable);
71 int (*get_delay)(
int *delay_ms);
73 int (*get_cacheinfo)(
int *cache_size);
int uvoice_player_release(uvoice_player_t *mplayer)
uvoice_player_t * uvoice_player_create(void)
@ PLAYER_STAT_LIST_PLAY_START
@ PLAYER_STAT_LIST_PLAY_STOP
@ PLAYER_STAT_SOURCE_INVALID
@ PLAYER_STAT_FORMAT_UNSUPPORT