Home
last modified time | relevance | path

Searched refs:captureAttr (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_audio/services/test_example/
H A Ddistributedaudiotest.cpp513 AudioSampleAttributes captureAttr; in OpenMic() local
514 captureAttr.type = AudioCategory::AUDIO_IN_MEDIA; in OpenMic()
515 captureAttr.interleaved = CAPTURE_INTER_LEAVED; in OpenMic()
516 captureAttr.streamId = CAPTURE_STREAM_ID; in OpenMic()
517 captureAttr.channelCount = CAPTURE_CHANNEL_MASK; in OpenMic()
518 captureAttr.sampleRate = AUDIO_SAMPLE_RATE; in OpenMic()
519 captureAttr.format = AudioFormat::AUDIO_FORMAT_TYPE_PCM_16_BIT; in OpenMic()
523 int32_t ret = g_adapter->CreateCapture(captureDesc, captureAttr, g_capture, g_captureId); in OpenMic()
/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/test/unittest/audio_capture_extension/src/
H A Daudio_capture_ext_impl_test.cpp188 struct AudioSampleAttributes captureAttr = { variable
203 audioCapturelatencyImpl_->devAttrs_ = captureAttr;