Home
last modified time | relevance | path

Searched refs:sink (Results 1 – 16 of 16) sorted by relevance

/AliOS-Things-master/components/uvoice/media/
A Duvoice_stream.c124 media_packer_t *media_packer_create(char *sink, media_type_t type) in media_packer_create() argument
128 if (!sink) { in media_packer_create()
141 if (file_packer_create(mpacker, sink)) { in media_packer_create()
153 if (partition_packer_create(mpacker, sink)) { in media_packer_create()
A Duvoice_recorder.c56 static media_type_t recorder_type_parse(char *sink) in recorder_type_parse() argument
58 if (!sink) in recorder_type_parse()
60 else if (!strncmp(sink, "fs:", strlen("fs:"))) in recorder_type_parse()
62 else if (!strncmp(sink, "pt:", strlen("pt:"))) in recorder_type_parse()
633 int bits, int frames, int bitrate, char *sink) in recorder_set_sink() argument
648 M_LOGD("sink %s\n", sink ? sink : "null"); in recorder_set_sink()
653 if (frames <= 0 && sink) in recorder_set_sink()
662 if (sink) { in recorder_set_sink()
700 if (sink) { in recorder_set_sink()
701 recorder->type = recorder_type_parse(sink); in recorder_set_sink()
[all …]
/AliOS-Things-master/components/uvoice/stream/
A Duvoice_file.c216 if (!sink) { in file_loader_update()
226 if (strncmp(sink, "fs:", strlen("fs:"))) { in file_loader_update()
231 sink += strlen("fs:"); in file_loader_update()
232 if (strlen(sink) + 1 > sizeof(loader->filename)) { in file_loader_update()
238 memcpy(loader->filename, sink, strlen(sink) + 1); in file_loader_update()
617 int file_packer_create(media_packer_t *mpacker, char *sink) in file_packer_create() argument
626 if (!sink) { in file_packer_create()
631 if (strncmp(sink, "fs:", strlen("fs:"))) { in file_packer_create()
636 sink += strlen("fs:"); in file_packer_create()
644 packer->stream = os_fopen(sink, "wb+"); in file_packer_create()
[all …]
A Duvoice_partition.c207 char *sink) in partition_loader_update() argument
217 if (!sink) { in partition_loader_update()
222 if (partition_info_parse(sink, &loader->part, in partition_loader_update()
616 int partition_packer_create(media_packer_t *mpacker, char *sink) in partition_packer_create() argument
628 if (!sink) { in partition_packer_create()
639 if (partition_info_parse(sink, &packer->part, in partition_packer_create()
/AliOS-Things-master/components/uvoice/internal/
A Duvoice_stream.h11 int file_packer_create(media_packer_t *mpacker, char *sink);
19 int partition_packer_create(media_packer_t *mpacker, char *sink);
A Duvoice_record.h78 media_packer_t *media_packer_create(char *sink, media_type_t type);
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowskeyboard.c1029 STDMETHODIMP_(ULONG) TSFSink_AddRef(TSFSink *sink) in TSFSink_AddRef() argument
1031 return ++sink->refcount; in TSFSink_AddRef()
1036 --sink->refcount; in TSFSink_Release()
1037 if (sink->refcount == 0) { in TSFSink_Release()
1038 SDL_free(sink); in TSFSink_Release()
1041 return sink->refcount; in TSFSink_Release()
1051 *ppv = (IUnknown *)sink; in UIElementSink_QueryInterface()
1053 *ppv = (ITfUIElementSink *)sink; in UIElementSink_QueryInterface()
1056 TSFSink_AddRef(sink); in UIElementSink_QueryInterface()
1157 *ppv = (IUnknown *)sink; in IPPASink_QueryInterface()
[all …]
/AliOS-Things-master/solutions/tflite_micro_speech_demo/recorder/
A Drecorder.c35 …tart(media_format_t fmt, int32_t rate, int32_t channels, int32_t bits, int32_t samples, char *sink) in recorder_start() argument
39 ret = mrecorder->set_sink(fmt, rate, channels, bits, samples, 0, sink); in recorder_start()
A Drecorder.h13 …art(media_format_t fmt, int32_t rate, int32_t channels, int32_t bits, int32_t samples, char *sink);
/AliOS-Things-master/components/py_engine/modules/audio/
A Duvoicerecorder.c91 const char *sink = mp_obj_is_str(args[7]) ? mp_obj_str_get_str(args[7]) : NULL; in uvoice_open() local
96 format, rate, channels, bits, frames, bitrate, sink); in uvoice_open()
98 … mp_int_t ret = self->recorder_obj->set_sink(format, rate, channels, bits, frames, bitrate, sink); in uvoice_open()
137 char *sink = mp_obj_is_str(args[7]) ? (char *)mp_obj_str_get_str(args[7]) : NULL; in uvoice_set_sink() local
142 format, rate, channels, bits, frames, bitrate, sink); in uvoice_set_sink()
144 … mp_int_t ret = self->recorder_obj->set_sink(format, rate, channels, bits, frames, bitrate, sink); in uvoice_set_sink()
/AliOS-Things-master/components/amp-utility/python/
A DRecorder.py9 def set_sink(format, rate, channels, bits, frames, bitrate, sink): argument
/AliOS-Things-master/components/uvoice/include/
A Duvoice_recorder.h28 …ink)(media_format_t format, int rate, int channels, int bits, int frames, int bitrate, char *sink);
/AliOS-Things-master/components/SDL2/src/audio/pulseaudio/
A DSDL_pulseaudio.c702 … const SDL_bool sink = ((t & PA_SUBSCRIPTION_EVENT_FACILITY_MASK) == PA_SUBSCRIPTION_EVENT_SINK); in HotplugCallback() local
706 if (added && sink) { in HotplugCallback()
710 } else if (removed && (sink || source)) { in HotplugCallback()
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Dchange.log419 supply routines to source or sink the compressed data. It is possible to
420 suspend processing on source/sink buffer overrun, although this is not
/AliOS-Things-master/components/SDL2/include/
A DSDL_opengl.h1694 GLenum internalformat, GLboolean sink );
1709 GLboolean sink );
A DSDL_opengl_glext.h3149 …PIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3150 typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
3182 …PI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
3183 GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
6903 …NTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
6904 typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
6914 …void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
6915 GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);

Completed in 93 milliseconds