Home
last modified time | relevance | path

Searched refs:spanSizeInframe (Results 1 - 14 of 14) sorted by relevance

/foundation/multimedia/audio_framework/services/audio_service/test/example/
H A Daudio_hdi_device_test.cpp43 uint32_t spanSizeInframe = 0; in RenderFrameFromFile() local
46 hdiRenderSink_->GetMmapBufferInfo(fd, totalSizeInframe, spanSizeInframe, byteSizePerFrame); in RenderFrameFromFile()
51 if (spanSizeInframe > SIZE_MAX / byteSizePerFrame) { in RenderFrameFromFile()
55 size_t tempBufferSize = spanSizeInframe * byteSizePerFrame; in RenderFrameFromFile()
/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Daudio_process_in_server.cpp371 uint32_t &spanSizeInframe, DeviceStreamInfo &serverStreamInfo, const std::shared_ptr<OHAudioBuffer> &buffer) in ConfigProcessBuffer()
378 CHECK_AND_RETURN_RET_LOG(totalSizeInframe != 0 && spanSizeInframe != 0 && totalSizeInframe % spanSizeInframe == 0, in ConfigProcessBuffer()
382 uint32_t spanTime = spanSizeInframe * AUDIO_MS_PER_SECOND / *serverStreamInfo.samplingRate.rbegin(); in ConfigProcessBuffer()
384 totalSizeInframe_ = totalSizeInframe / spanSizeInframe * spanSizeInframe_; in ConfigProcessBuffer()
393 spanSizeInByte = static_cast<size_t>(spanSizeInframe * serverByteSize); in ConfigProcessBuffer()
409 AUDIO_INFO_LOG("Config: totalSizeInframe:%{public}d spanSizeInframe:%{public}d byteSizePerFrame:%{public}d", in ConfigProcessBuffer()
370 ConfigProcessBuffer(uint32_t &totalSizeInframe, uint32_t &spanSizeInframe, DeviceStreamInfo &serverStreamInfo, const std::shared_ptr<OHAudioBuffer> &buffer) ConfigProcessBuffer() argument
H A Daudio_endpoint_separate.cpp337 int32_t AudioEndpointSeparate::GetPreferBufferInfo(uint32_t &totalSizeInframe, uint32_t &spanSizeInframe) in GetPreferBufferInfo() argument
340 spanSizeInframe = dstSpanSizeInframe_; in GetPreferBufferInfo()
H A Daudio_service.cpp546 uint32_t spanSizeInframe = 0; in GetAudioProcess() local
547 audioEndpoint->GetPreferBufferInfo(totalSizeInframe, spanSizeInframe); in GetAudioProcess()
557 int32_t ret = process->ConfigProcessBuffer(totalSizeInframe, spanSizeInframe, deviceInfo.audioStreamInfo, buffer); in GetAudioProcess()
H A Daudio_endpoint.cpp133 int32_t GetPreferBufferInfo(uint32_t &totalSizeInframe, uint32_t &spanSizeInframe) override;
902 int32_t AudioEndpointInner::GetPreferBufferInfo(uint32_t &totalSizeInframe, uint32_t &spanSizeInframe) in GetPreferBufferInfo() argument
905 spanSizeInframe = dstSpanSizeInframe_; in GetPreferBufferInfo()
/foundation/multimedia/audio_framework/services/audio_service/server/include/
H A Daudio_endpoint.h86 virtual int32_t GetPreferBufferInfo(uint32_t &totalSizeInframe, uint32_t &spanSizeInframe) = 0;
121 int32_t GetPreferBufferInfo(uint32_t &totalSizeInframe, uint32_t &spanSizeInframe) override;
H A Daudio_process_in_server.h81 int32_t ConfigProcessBuffer(uint32_t &totalSizeInframe, uint32_t &spanSizeInframe,
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/common/
H A Di_audio_renderer_sink.h123 virtual int32_t GetMmapBufferInfo(int &fd, uint32_t &totalSizeInframe, uint32_t &spanSizeInframe,
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/common/
H A Di_audio_capturer_source.h121 virtual int32_t GetMmapBufferInfo(int &fd, uint32_t &totalSizeInframe, uint32_t &spanSizeInframe,
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/remote_fast/
H A Dremote_fast_audio_capturer_source.cpp86 int32_t GetMmapBufferInfo(int &fd, uint32_t &totalSizeInframe, uint32_t &spanSizeInframe,
411 uint32_t &spanSizeInframe, uint32_t &byteSizePerFrame) in GetMmapBufferInfo()
417 spanSizeInframe = eachReadFrameSize_; in GetMmapBufferInfo()
410 GetMmapBufferInfo(int &fd, uint32_t &totalSizeInframe, uint32_t &spanSizeInframe, uint32_t &byteSizePerFrame) GetMmapBufferInfo() argument
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/fast/
H A Dfast_audio_renderer_sink.cpp99 int32_t GetMmapBufferInfo(int &fd, uint32_t &totalSizeInframe, uint32_t &spanSizeInframe,
305 int32_t FastAudioRendererSinkInner::GetMmapBufferInfo(int &fd, uint32_t &totalSizeInframe, uint32_t &spanSizeInframe, in GetMmapBufferInfo() argument
311 spanSizeInframe = eachReadFrameSize_; in GetMmapBufferInfo()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/fast/
H A Dfast_audio_capturer_source.cpp72 int32_t GetMmapBufferInfo(int &fd, uint32_t &totalSizeInframe, uint32_t &spanSizeInframe,
373 int32_t FastAudioCapturerSourceInner::GetMmapBufferInfo(int &fd, uint32_t &totalSizeInframe, uint32_t &spanSizeInframe, in GetMmapBufferInfo() argument
379 spanSizeInframe = eachReadFrameSize_; in GetMmapBufferInfo()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/remote_fast/
H A Dremote_fast_audio_renderer_sink.cpp108 int32_t GetMmapBufferInfo(int &fd, uint32_t &totalSizeInframe, uint32_t &spanSizeInframe,
361 uint32_t &spanSizeInframe, uint32_t &byteSizePerFrame) in GetMmapBufferInfo()
367 spanSizeInframe = eachReadFrameSize_; in GetMmapBufferInfo()
360 GetMmapBufferInfo(int &fd, uint32_t &totalSizeInframe, uint32_t &spanSizeInframe, uint32_t &byteSizePerFrame) GetMmapBufferInfo() argument
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/bluetooth/
H A Dbluetooth_renderer_sink.cpp160 int32_t GetMmapBufferInfo(int &fd, uint32_t &totalSizeInframe, uint32_t &spanSizeInframe,
1079 int32_t BluetoothRendererSinkInner::GetMmapBufferInfo(int &fd, uint32_t &totalSizeInframe, uint32_t &spanSizeInframe, in GetMmapBufferInfo() argument
1085 spanSizeInframe = eachReadFrameSize_; in GetMmapBufferInfo()

Completed in 23 milliseconds