Home
last modified time | relevance | path

Searched refs:OH_AudioStream_Result (Results 1 - 16 of 16) sorted by relevance

/foundation/multimedia/audio_framework/interfaces/kits/c/audio_renderer/
H A Dnative_audiorenderer.h56 OH_AudioStream_Result OH_AudioRenderer_Release(OH_AudioRenderer* renderer);
66 OH_AudioStream_Result OH_AudioRenderer_Start(OH_AudioRenderer* renderer);
76 OH_AudioStream_Result OH_AudioRenderer_Pause(OH_AudioRenderer* renderer);
86 OH_AudioStream_Result OH_AudioRenderer_Stop(OH_AudioRenderer* renderer);
96 OH_AudioStream_Result OH_AudioRenderer_Flush(OH_AudioRenderer* renderer);
109 OH_AudioStream_Result OH_AudioRenderer_GetCurrentState(OH_AudioRenderer* renderer,
123 OH_AudioStream_Result OH_AudioRenderer_GetSamplingRate(OH_AudioRenderer* renderer, int32_t* rate);
134 OH_AudioStream_Result OH_AudioRenderer_GetStreamId(OH_AudioRenderer* renderer, uint32_t* streamId);
145 OH_AudioStream_Result OH_AudioRenderer_GetChannelCount(OH_AudioRenderer* renderer, int32_t* channelCount);
156 OH_AudioStream_Result OH_AudioRenderer_GetSampleForma
[all...]
/foundation/multimedia/audio_framework/interfaces/kits/c/audio_capturer/
H A Dnative_audiocapturer.h55 OH_AudioStream_Result OH_AudioCapturer_Release(OH_AudioCapturer* capturer);
66 OH_AudioStream_Result OH_AudioCapturer_Start(OH_AudioCapturer* capturer);
77 OH_AudioStream_Result OH_AudioCapturer_Pause(OH_AudioCapturer* capturer);
88 OH_AudioStream_Result OH_AudioCapturer_Stop(OH_AudioCapturer* capturer);
98 OH_AudioStream_Result OH_AudioCapturer_Flush(OH_AudioCapturer* capturer);
111 OH_AudioStream_Result OH_AudioCapturer_GetCurrentState(OH_AudioCapturer* capturer, OH_AudioStream_State* state);
122 OH_AudioStream_Result OH_AudioCapturer_GetLatencyMode(OH_AudioCapturer* capturer,
134 OH_AudioStream_Result OH_AudioCapturer_GetStreamId(OH_AudioCapturer* capturer, uint32_t* streamId);
147 OH_AudioStream_Result OH_AudioCapturer_GetSamplingRate(OH_AudioCapturer* capturer, int32_t* rate);
158 OH_AudioStream_Result OH_AudioCapturer_GetChannelCoun
[all...]
/foundation/multimedia/audio_framework/interfaces/kits/c/common/
H A Dnative_audiostreambuilder.h58 OH_AudioStream_Result OH_AudioStreamBuilder_Create(OH_AudioStreamBuilder** builder, OH_AudioStream_Type type);
70 OH_AudioStream_Result OH_AudioStreamBuilder_Destroy(OH_AudioStreamBuilder* builder);
81 OH_AudioStream_Result OH_AudioStreamBuilder_SetSamplingRate(OH_AudioStreamBuilder* builder, int32_t rate);
92 OH_AudioStream_Result OH_AudioStreamBuilder_SetChannelCount(OH_AudioStreamBuilder* builder, int32_t channelCount);
103 OH_AudioStream_Result OH_AudioStreamBuilder_SetSampleFormat(OH_AudioStreamBuilder* builder,
115 OH_AudioStream_Result OH_AudioStreamBuilder_SetEncodingType(OH_AudioStreamBuilder* builder,
127 OH_AudioStream_Result OH_AudioStreamBuilder_SetLatencyMode(OH_AudioStreamBuilder* builder,
139 OH_AudioStream_Result OH_AudioStreamBuilder_SetChannelLayout(OH_AudioStreamBuilder* builder,
151 OH_AudioStream_Result OH_AudioStreamBuilder_SetRendererInfo(OH_AudioStreamBuilder* builder,
163 OH_AudioStream_Result OH_AudioStreamBuilder_SetCapturerInf
[all...]
H A Dnative_audiostream_base.h82 } OH_AudioStream_Result; typedef
563 OH_AudioStream_Result error);
616 OH_AudioStream_Result error);
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/
H A DOHAudioStreamBuilder.h33 OH_AudioStream_Result Generate(OH_AudioRenderer **renderer);
34 OH_AudioStream_Result Generate(OH_AudioCapturer **capturer);
36 OH_AudioStream_Result SetSamplingRate(int32_t rate);
37 OH_AudioStream_Result SetChannelCount(int32_t channelCount);
38 OH_AudioStream_Result SetSampleFormat(AudioSampleFormat sampleFormat);
39 OH_AudioStream_Result SetEncodingType(AudioEncodingType encodingType);
40 OH_AudioStream_Result SetPreferredFrameSize(int32_t frameSize);
41 OH_AudioStream_Result SetLatencyMode(int32_t latencyMode);
42 OH_AudioStream_Result SetChannelLayout(AudioChannelLayout channelLayout);
44 OH_AudioStream_Result SetRendererInf
[all...]
H A DOHAudioStreamBuilder.cpp43 OH_AudioStream_Result OH_AudioStreamBuilder_SetSamplingRate(OH_AudioStreamBuilder *builder, int32_t rate) in OH_AudioStreamBuilder_SetSamplingRate()
50 OH_AudioStream_Result OH_AudioStreamBuilder_SetChannelCount(OH_AudioStreamBuilder *builder, int32_t channelCount) in OH_AudioStreamBuilder_SetChannelCount()
57 OH_AudioStream_Result OH_AudioStreamBuilder_SetSampleFormat(OH_AudioStreamBuilder *builder, in OH_AudioStreamBuilder_SetSampleFormat()
67 OH_AudioStream_Result OH_AudioStreamBuilder_SetFrameSizeInCallback(OH_AudioStreamBuilder *builder, in OH_AudioStreamBuilder_SetFrameSizeInCallback()
75 OH_AudioStream_Result OH_AudioStreamBuilder_SetEncodingType(OH_AudioStreamBuilder *builder, in OH_AudioStreamBuilder_SetEncodingType()
84 OH_AudioStream_Result OH_AudioStreamBuilder_SetLatencyMode(OH_AudioStreamBuilder *builder, in OH_AudioStreamBuilder_SetLatencyMode()
93 OH_AudioStream_Result OH_AudioStreamBuilder_SetChannelLayout(OH_AudioStreamBuilder *builder, in OH_AudioStreamBuilder_SetChannelLayout()
102 OH_AudioStream_Result OH_AudioStreamBuilder_SetRendererInfo(OH_AudioStreamBuilder *builder, in OH_AudioStreamBuilder_SetRendererInfo()
110 OH_AudioStream_Result OH_AudioStreamBuilder_SetRendererCallback(OH_AudioStreamBuilder *builder, in OH_AudioStreamBuilder_SetRendererCallback()
118 OH_AudioStream_Result OH_AudioStreamBuilder_SetCapturerInf
[all...]
H A DOHAudioRenderer.cpp31 static OH_AudioStream_Result ConvertError(int32_t err) in ConvertError()
43 OH_AudioStream_Result OH_AudioRenderer_Start(OH_AudioRenderer *renderer) in OH_AudioRenderer_Start()
54 OH_AudioStream_Result OH_AudioRenderer_Pause(OH_AudioRenderer *renderer) in OH_AudioRenderer_Pause()
66 OH_AudioStream_Result OH_AudioRenderer_Stop(OH_AudioRenderer *renderer) in OH_AudioRenderer_Stop()
78 OH_AudioStream_Result OH_AudioRenderer_Flush(OH_AudioRenderer *renderer) in OH_AudioRenderer_Flush()
90 OH_AudioStream_Result OH_AudioRenderer_Release(OH_AudioRenderer *renderer) in OH_AudioRenderer_Release()
104 OH_AudioStream_Result OH_AudioRenderer_GetCurrentState(OH_AudioRenderer *renderer, OH_AudioStream_State *state) in OH_AudioRenderer_GetCurrentState()
114 OH_AudioStream_Result OH_AudioRenderer_GetSamplingRate(OH_AudioRenderer *renderer, int32_t *rate) in OH_AudioRenderer_GetSamplingRate()
123 OH_AudioStream_Result OH_AudioRenderer_GetStreamId(OH_AudioRenderer *renderer, uint32_t *streamId) in OH_AudioRenderer_GetStreamId()
131 OH_AudioStream_Result OH_AudioRenderer_GetChannelCoun
[all...]
H A DOHAudioCapturer.cpp31 OH_AudioStream_Result OH_AudioCapturer_Release(OH_AudioCapturer* capturer) in OH_AudioCapturer_Release()
44 OH_AudioStream_Result OH_AudioCapturer_Start(OH_AudioCapturer* capturer) in OH_AudioCapturer_Start()
55 OH_AudioStream_Result OH_AudioCapturer_Pause(OH_AudioCapturer* capturer) in OH_AudioCapturer_Pause()
67 OH_AudioStream_Result OH_AudioCapturer_Stop(OH_AudioCapturer* capturer) in OH_AudioCapturer_Stop()
79 OH_AudioStream_Result OH_AudioCapturer_Flush(OH_AudioCapturer* capturer) in OH_AudioCapturer_Flush()
92 OH_AudioStream_Result OH_AudioCapturer_GetCurrentState(OH_AudioCapturer* capturer, OH_AudioStream_State* state) in OH_AudioCapturer_GetCurrentState()
102 OH_AudioStream_Result OH_AudioCapturer_GetLatencyMode(OH_AudioCapturer* capturer, in OH_AudioCapturer_GetLatencyMode()
113 OH_AudioStream_Result OH_AudioCapturer_GetStreamId(OH_AudioCapturer* capturer, uint32_t* streamId) in OH_AudioCapturer_GetStreamId()
121 OH_AudioStream_Result OH_AudioCapturer_GetChannelCount(OH_AudioCapturer* capturer, int32_t* channelCount) in OH_AudioCapturer_GetChannelCount()
129 OH_AudioStream_Result OH_AudioCapturer_GetSamplingRat
[all...]
H A DOHAudioRenderer.h128 OH_AudioStream_Result GetErrorResult(AudioErrors errorCode) const;
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/unittest/oh_audio_capture_test/src/
H A Doh_audio_capture_unit_test.cpp48 OH_AudioStream_Result result = OH_AudioStreamBuilder_GenerateCapturer(builder, &audioCapturer); in HWTEST()
64 OH_AudioStream_Result result = OH_AudioStreamBuilder_Create(&builder, type); in HWTEST()
84 OH_AudioStream_Result result = OH_AudioStreamBuilder_GenerateCapturer(builder, &audioCapturer); in HWTEST()
103 OH_AudioStream_Result result = OH_AudioStreamBuilder_GenerateCapturer(builder, &audioCapturer); in HWTEST()
124 OH_AudioStream_Result result = OH_AudioStreamBuilder_GenerateCapturer(builder, &audioCapturer); in HWTEST()
144 OH_AudioStream_Result result = OH_AudioStreamBuilder_GenerateCapturer(builder, &audioCapturer); in HWTEST()
163 OH_AudioStream_Result result = OH_AudioStreamBuilder_GenerateCapturer(builder, &audioCapturer); in HWTEST()
183 OH_AudioStream_Result result = OH_AudioStreamBuilder_GenerateCapturer(builder, &audioCapturer); in HWTEST()
202 OH_AudioStream_Result result = OH_AudioStreamBuilder_GenerateCapturer(builder, &audioCapturer); in HWTEST()
222 OH_AudioStream_Result resul in HWTEST()
[all...]
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/unittest/oh_audio_stream_builder_test/src/
H A Doh_audio_stream_builder_unit_test.cpp149 OH_AudioStream_Result result = OH_AudioStreamBuilder_Create(&builder, type); in HWTEST()
165 OH_AudioStream_Result result = OH_AudioStreamBuilder_Create(&builder, type); in HWTEST()
181 OH_AudioStream_Result result = OH_AudioStreamBuilder_Destroy(builder); in HWTEST()
194 OH_AudioStream_Result result = OH_AudioStreamBuilder_Create(&builder, type); in HWTEST()
214 OH_AudioStream_Result result = OH_AudioStreamBuilder_Create(&builder, type); in HWTEST()
234 OH_AudioStream_Result result = OH_AudioStreamBuilder_Create(&builder, type); in HWTEST()
254 OH_AudioStream_Result result = OH_AudioStreamBuilder_Create(&builder, type); in HWTEST()
274 OH_AudioStream_Result result = OH_AudioStreamBuilder_Create(&builder, type); in HWTEST()
294 OH_AudioStream_Result result = OH_AudioStreamBuilder_Create(&builder, type); in HWTEST()
314 OH_AudioStream_Result resul in HWTEST()
[all...]
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/unittest/oh_audio_render_test/src/
H A Doh_audio_render_unit_test.cpp181 OH_AudioStream_Result result = OH_AudioRenderer_Stop(audioRenderer); in CleanupAudioResources()
200 OH_AudioStream_Result result = OH_AudioStreamBuilder_GenerateRenderer(builder, &audioRenderer); in HWTEST()
216 OH_AudioStream_Result result = OH_AudioStreamBuilder_Create(&builder, type); in HWTEST()
234 OH_AudioStream_Result result = OH_AudioStreamBuilder_GenerateRenderer(builder, &audioRenderer); in HWTEST()
253 OH_AudioStream_Result result = OH_AudioStreamBuilder_GenerateRenderer(builder, &audioRenderer); in HWTEST()
274 OH_AudioStream_Result result = OH_AudioStreamBuilder_GenerateRenderer(builder, &audioRenderer); in HWTEST()
294 OH_AudioStream_Result result = OH_AudioStreamBuilder_GenerateRenderer(builder, &audioRenderer); in HWTEST()
313 OH_AudioStream_Result result = OH_AudioStreamBuilder_GenerateRenderer(builder, &audioRenderer); in HWTEST()
333 OH_AudioStream_Result result = OH_AudioStreamBuilder_GenerateRenderer(builder, &audioRenderer); in HWTEST()
352 OH_AudioStream_Result resul in HWTEST()
[all...]
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/example/
H A Doh_audio_capturer_test.cpp59 OH_AudioStream_Result error) in AudioErrCallback()
90 OH_AudioStream_Result ret; in RecorderTest()
H A Doh_audio_renderer_test.cpp71 OH_AudioStream_Result error) in AudioErrCallback()
102 OH_AudioStream_Result ret; in PlayerTest()
H A Doh_audio_session_manager_test.cpp215 OH_AudioStream_Result ret; in StartPlay()
263 OH_AudioStream_Result ret = OH_AudioRenderer_Stop(audioRenderer); in StopPlay()
H A Doh_audio_capturer_lowlatency_test.cpp79 OH_AudioStream_Result ret;

Completed in 13 milliseconds