Searched refs:streamInfo (Results 1 – 6 of 6) sorted by relevance
/base/startup/init/services/param/linux/ |
D | param_msgadp.c | 47 int ParamServerCreate(ParamTaskPtr *stream, const ParamStreamInfo *streamInfo) in ParamServerCreate() argument 49 PARAM_CHECK(stream != NULL && streamInfo != NULL, return -1, "Invalid param"); in ParamServerCreate() 50 PARAM_CHECK(streamInfo->incomingConnect != NULL, return -1, "Invalid incomingConnect"); in ParamServerCreate() 53 info.server = streamInfo->server; in ParamServerCreate() 54 info.baseInfo.close = streamInfo->close; in ParamServerCreate() 55 info.incommingConnect = streamInfo->incomingConnect; in ParamServerCreate() 60 const ParamStreamInfo *streamInfo, uint16_t userDataSize) in ParamStreamCreate() argument 62 PARAM_CHECK(stream != NULL && streamInfo != NULL, return -1, "Invalid stream"); in ParamStreamCreate() 63 PARAM_CHECK(streamInfo->recvMessage != NULL, return -1, "Invalid recvMessage"); in ParamStreamCreate() 64 PARAM_CHECK(streamInfo->close != NULL, return -1, "Invalid close"); in ParamStreamCreate() [all …]
|
D | param_message.h | 87 int ParamServerCreate(ParamTaskPtr *stream, const ParamStreamInfo *streamInfo); 89 const ParamStreamInfo *streamInfo, uint16_t userDataSize);
|
/base/startup/init/test/unittest/loopevent/ |
D | loopevent_unittest.cpp | 106 LE_StreamInfo streamInfo = {}; in StreamTaskTest() local 107 streamInfo.recvMessage = OnReceiveRequest; in StreamTaskTest() 108 streamInfo.baseInfo.flags = TASK_STREAM | TASK_PIPE | TASK_CONNECT | TASK_TEST; in StreamTaskTest() 109 streamInfo.server = (char *)"/data/testpipea"; in StreamTaskTest() 111 …E_AcceptStreamClient(LE_GetDefaultLoop(), (TaskHandle)serverTask_, &clientTaskHandle, &streamInfo); in StreamTaskTest() 121 streamInfo.baseInfo.flags = TASK_STREAM | TASK_TCP | TASK_SERVER; in StreamTaskTest() 122 streamInfo.server = (char *)"0.0.0.0:10110"; in StreamTaskTest() 123 LE_CreateStreamClient(LE_GetDefaultLoop(), &clientTaskHandlec, &streamInfo); in StreamTaskTest() 128 streamInfo.baseInfo.flags = TASK_STREAM | TASK_TCP | TASK_CONNECT; in StreamTaskTest() 129 streamInfo.server = (char *)"127.0.0.1:10111"; in StreamTaskTest() [all …]
|
/base/telephony/call_manager/services/audio/src/ |
D | audio_player.cpp | 68 rendererOptions.streamInfo.samplingRate = AudioStandard::AudioSamplingRate::SAMPLE_RATE_96000; in InitRenderer() 69 rendererOptions.streamInfo.encoding = AudioStandard::AudioEncodingType::ENCODING_PCM; in InitRenderer() 70 rendererOptions.streamInfo.format = AudioStandard::AudioSampleFormat::SAMPLE_U8; in InitRenderer() 71 rendererOptions.streamInfo.channels = AudioStandard::AudioChannel::MONO; in InitRenderer() 97 capturerOptions.streamInfo.samplingRate = AudioStandard::AudioSamplingRate::SAMPLE_RATE_96000; in InitCapturer() 98 capturerOptions.streamInfo.encoding = AudioStandard::AudioEncodingType::ENCODING_PCM; in InitCapturer() 99 capturerOptions.streamInfo.format = AudioStandard::AudioSampleFormat::SAMPLE_U8; in InitCapturer() 100 capturerOptions.streamInfo.channels = AudioStandard::AudioChannel::MONO; in InitCapturer()
|
/base/web/webview/ohos_adapter/audio_adapter/src/ |
D | audio_capturer_adapter_impl.cpp | 107 options.streamInfo.samplingRate = GetAudioSamplingRate(capturerOptions.samplingRate); in Create() 108 options.streamInfo.encoding = GetAudioEncodingType(capturerOptions.encoding); in Create() 109 options.streamInfo.format = GetAudioSampleFormat(capturerOptions.format); in Create() 110 options.streamInfo.channels = GetAudioChannel(capturerOptions.channels); in Create()
|
D | audio_renderer_adapter_impl.cpp | 146 audioOptions.streamInfo.samplingRate = GetAudioSamplingRate(rendererOptions.samplingRate); in Create() 147 audioOptions.streamInfo.encoding = GetAudioEncodingType(rendererOptions.encoding); in Create() 148 audioOptions.streamInfo.format = GetAudioSampleFormat(rendererOptions.format); in Create() 149 audioOptions.streamInfo.channels = GetAudioChannel(rendererOptions.channels); in Create()
|