Home
last modified time | relevance | path

Searched refs:media_info (Results 1 – 11 of 11) sorted by relevance

/AliOS-Things-master/components/uvoice/codec/
A Damr_decoder.c97 media_info_t media_info; in amr_decoder_process() local
98 memset(&media_info, 0, sizeof(media_info_t)); in amr_decoder_process()
99 media_info.bitrate = 12000; in amr_decoder_process()
101 PLAYER_MSG_MEDIA_INFO, &media_info); in amr_decoder_process()
A Damrwb_decoder.c96 media_info_t media_info; in amrwb_decoder_process() local
97 memset(&media_info, 0, sizeof(media_info_t)); in amrwb_decoder_process()
98 media_info.bitrate = 12000; in amrwb_decoder_process()
100 PLAYER_MSG_MEDIA_INFO, &media_info); in amrwb_decoder_process()
A Dspx_decoder.c133 media_info_t media_info; in spx_decoder_process() local
134 memset(&media_info, 0, sizeof(media_info_t)); in spx_decoder_process()
135 media_info.bitrate = spx->bitrate; in spx_decoder_process()
137 PLAYER_MSG_MEDIA_INFO, &media_info); in spx_decoder_process()
A Dpvmp3_decoder.c410 media_info_t media_info; in pvmp3_decoder_process() local
411 memset(&media_info, 0, sizeof(media_info_t)); in pvmp3_decoder_process()
412 media_info.bitrate = config->bitRate * 1000; in pvmp3_decoder_process()
414 PLAYER_MSG_MEDIA_INFO, &media_info); in pvmp3_decoder_process()
A Dpvaac_decoder.c359 media_info_t media_info; in pcm_output() local
360 memset(&media_info, 0, sizeof(media_info_t)); in pcm_output()
361 media_info.bitrate = 0; in pcm_output()
362 mdecoder->message(mdecoder->priv, PLAYER_MSG_MEDIA_INFO, &media_info); in pcm_output()
/AliOS-Things-master/components/uvoice/media/
A Duvoice_player.c216 media_info_t *media_info; in player_mediainfo_update() local
228 media_info = player->media_info; in player_mediainfo_update()
229 if (!media_info) { in player_mediainfo_update()
235 memcpy(media_info->name, in player_mediainfo_update()
243 memcpy(media_info->album, in player_mediainfo_update()
252 if (media_info->media_size > 0 && media_info->duration > 0) in player_mediainfo_update()
253 media_info->bitrate = (media_info->media_size / in player_mediainfo_update()
259 if (media_info->bitrate > 0 && media_info->media_size > 0) in player_mediainfo_update()
263 media_info->bitrate, media_info->media_size); in player_mediainfo_update()
3581 media_info = player->media_info; in player_seek()
[all …]
A Duvoice_wave.c64 media_info_t media_info; in wave_info_parse() local
159 memset(&media_info, 0, sizeof(media_info)); in wave_info_parse()
160 media_info.bitrate = chunk_fmt.byte_rate * 8; in wave_info_parse()
163 PLAYER_MSG_MEDIA_INFO, &media_info); in wave_info_parse()
/AliOS-Things-master/components/uvoice/stream/
A Duvoice_partition.c370 media_info_t media_info; in partition_loader_action() local
371 memset(&media_info, 0, sizeof(media_info_t)); in partition_loader_action()
374 media_info.media_size = loader->bin_size; in partition_loader_action()
377 PLAYER_MSG_MEDIA_INFO, &media_info); in partition_loader_action()
A Duvoice_file.c374 media_info_t media_info; in file_loader_action() local
375 memset(&media_info, 0, sizeof(media_info_t)); in file_loader_action()
376 media_info.media_size = loader->file_length; in file_loader_action()
378 PLAYER_MSG_MEDIA_INFO, &media_info); in file_loader_action()
A Duvoice_http.c1343 media_info_t media_info; in http_loader_action() local
1344 memset(&media_info, 0, sizeof(media_info_t)); in http_loader_action()
1345 media_info.duration = 0; in http_loader_action()
1348 media_info.duration = loader->hls->duration; in http_loader_action()
1350 media_info.media_size = loader->nc->content_length; in http_loader_action()
1353 PLAYER_MSG_MEDIA_INFO, &media_info); in http_loader_action()
/AliOS-Things-master/components/uvoice/internal/
A Duvoice_play.h202 media_info_t *media_info; member

Completed in 19 milliseconds