Home
last modified time | relevance | path

Searched refs:mpacker (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/uvoice/media/
A Duvoice_stream.c126 media_packer_t *mpacker; in media_packer_create() local
134 if (!mpacker) { in media_packer_create()
143 snd_free(mpacker); in media_packer_create()
148 snd_free(mpacker); in media_packer_create()
155 snd_free(mpacker); in media_packer_create()
160 snd_free(mpacker); in media_packer_create()
165 snd_free(mpacker); in media_packer_create()
169 mpacker->type = type; in media_packer_create()
170 return mpacker; in media_packer_create()
175 if (!mpacker) in media_packer_release()
[all …]
A Duvoice_recorder.c160 media_packer_t *mpacker; in recorder_task() local
176 mpacker = recorder->mpacker; in recorder_task()
177 if (!mpacker) { in recorder_task()
215 mpacker->action(mpacker, RECORDER_STOP, NULL); in recorder_task()
308 ret = mpacker->pack(mpacker, in recorder_task()
344 ret = mpacker->pack(mpacker, data_buffer, in recorder_task()
709 if (!recorder->mpacker) { in recorder_set_sink()
809 mpacker = recorder->mpacker; in recorder_clr_sink()
810 if (!mpacker) { in recorder_clr_sink()
831 ret = mpacker->update(mpacker, in recorder_clr_sink()
[all …]
/AliOS-Things-master/components/uvoice/internal/
A Duvoice_stream.h11 int file_packer_create(media_packer_t *mpacker, char *sink);
12 int file_packer_release(media_packer_t *mpacker);
19 int partition_packer_create(media_packer_t *mpacker, char *sink);
20 int partition_packer_release(media_packer_t *mpacker);
A Duvoice_record.h72 media_packer_t *mpacker; member
79 int media_packer_release(media_packer_t *mpacker);
/AliOS-Things-master/components/uvoice/stream/
A Duvoice_file.c534 if (!mpacker) { in file_packer_write()
539 packer = mpacker->packer; in file_packer_write()
552 mpacker->size += nbytes; in file_packer_write()
566 if (!mpacker) { in file_packer_update()
571 packer = mpacker->packer; in file_packer_update()
600 if (!mpacker) { in file_packer_action()
605 packer = mpacker->packer; in file_packer_action()
621 if (!mpacker) { in file_packer_create()
653 mpacker->packer = packer; in file_packer_create()
666 if (!mpacker) { in file_packer_release()
[all …]
A Duvoice_partition.c509 if (!mpacker) { in partition_packer_write()
514 packer = mpacker->packer; in partition_packer_write()
538 mpacker->size += wr_size; in partition_packer_write()
554 if (!mpacker) { in partition_packer_update()
559 packer = mpacker->packer; in partition_packer_update()
602 if (!mpacker) { in partition_packer_action()
607 packer = mpacker->packer; in partition_packer_action()
623 if (!mpacker) { in partition_packer_create()
693 mpacker->packer = packer; in partition_packer_create()
706 if (!mpacker) { in partition_packer_release()
[all …]

Completed in 8 milliseconds