오디오 소스 예제
QAudioSource 클래스를 사용하여 오디오 녹음하기.
오디오 소스는 QAudioSource 의 기본 사용 사례를 보여줍니다.

Qt는 표준 애플리케이션 사용자 인터페이스 내에서 오디오 기능을 활성화하기 위해 QAudioSource 클래스를 제공합니다.
이 예제는 마이크에서 입력된 오디오의 최대 선형 값을 계산하여 출력을 표시합니다. UI를 통해 사용자는 오디오 입력 장치를 선택하고, 오디오 스트림을 일시 중지 및 재개하고, 다른 작동 모드 간에 전환하고, 볼륨을 조정하고, 오디오 형식 매개 변수를 변경할 수 있습니다.
예제 실행하기
에서 예제를 실행하려면 Qt Creator에서 Welcome 모드를 열고 Examples 에서 예제를 선택합니다. 자세한 내용은 Qt Creator: 튜토리얼을 참조하세요 : 빌드 및 실행을 참조하세요.
© 2026 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.