物联网操作系统AliOS Things 3.3
uvoice_types.h
浏览该文件的文档.
1 /*
2  * Copyright (C) 2015-2020 Alibaba Group Holding Limited
3  */
4 
5 #ifndef __UVOICE_TYPES_H__
6 #define __UVOICE_TYPES_H__
7 
22 typedef enum {
38 
39 typedef struct {
40  char name[32];
41  char author[32];
42  char album[32];
43  char year[8];
44  int valid;
45  unsigned char type;
46  int32_t bitrate;
47  int32_t media_size;
48  int32_t duration;
49 } media_info_t;
50 
51 typedef struct {
52  int place; /* 0: none, 1: file, 2: mem */
53  int mem_size; /* cache memory size in KB */
54  char file_path[128]; /* cache file full path */
56 
57 
62 #endif /* __UVOICE_TYPES_H__ */
media_format_t
Definition: uvoice_types.h:22
@ MEDIA_FMT_AAC
Definition: uvoice_types.h:27
@ MEDIA_FMT_AMR
Definition: uvoice_types.h:33
@ MEDIA_FMT_WMA
Definition: uvoice_types.h:32
@ MEDIA_FMT_M4A
Definition: uvoice_types.h:28
@ MEDIA_FMT_PCM
Definition: uvoice_types.h:24
@ MEDIA_FMT_UNKNOWN
Definition: uvoice_types.h:23
@ MEDIA_FMT_OPS
Definition: uvoice_types.h:30
@ MEDIA_FMT_AMRWB
Definition: uvoice_types.h:34
@ MEDIA_FMT_SPX
Definition: uvoice_types.h:31
@ MEDIA_FMT_OGG
Definition: uvoice_types.h:29
@ MEDIA_FMT_FLAC
Definition: uvoice_types.h:35
@ MEDIA_FMT_WAV
Definition: uvoice_types.h:25
@ MEDIA_FMT_MP3
Definition: uvoice_types.h:26
@ MEDIA_FMT_COUNT
Definition: uvoice_types.h:36
int32_t bitrate
Definition: uvoice_types.h:46
int32_t duration
Definition: uvoice_types.h:48
unsigned char type
Definition: uvoice_types.h:45
int32_t media_size
Definition: uvoice_types.h:47