AudioInput QML Type
캡처 세션에서 오디오를 캡처하는 데 사용할 오디오 입력입니다. 더 보기...
Import Statement: | import QtMultimedia |
In C++: | QAudioInput |
속성
상세 설명
CaptureSession { id: playMusic audioInput: AudioInput { volume: slider.value } recorder: MediaRecorder { ... } } Slider { id: slider from: 0. to: 1. }
오디오 입력 장치에서 오디오를 캡처하기 위해 AudioInput을 QtMultiMedia::CaptureSession과 함께 사용할 수 있습니다.
Camera 와 AudioOutput 를참고하세요 .
프로퍼티 문서
device : AudioDevice |
이 프로퍼티는 이 입력에 연결된 오디오 장치를 설명합니다.
장치 프로퍼티는 이 입력이 연결된 오디오 장치를 나타냅니다. 이 프로퍼티는 QtMultimedia::MediaDevices::audioInputs() 목록에서 출력 장치를 선택하는 데 사용할 수 있습니다.
muted : bool |
이 프로퍼티는 오디오 입력의 음소거 여부를 유지합니다.
기본값은 false
입니다.
volume : real |
볼륨은 0
(무음)에서 1
(최대 볼륨)까지 선형적으로 조절됩니다.
참고: 이 범위를 벗어나는 값은 클램핑됩니다.
기본적으로 볼륨은 1
입니다.
UI 볼륨 컨트롤은 일반적으로 비선형적으로 조절해야 합니다. 예를 들어 로그 스케일을 사용하면 사용자가 일반적으로 볼륨 컨트롤에서 기대할 수 있는 선형적인 음량 변화가 발생합니다.
QtAudio::convertVolume()도 참조하세요 .
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.