이 페이지에서

오디오 출력 예제

QAudioSink 클래스를 사용하여 오디오 재생을 활성화하는 방법.

‘오디오 출력’ 예제는 QAudioSink 의 기본적인 사용 사례를 보여줍니다.

재생 제어 기능 및 오디오 출력 모드 선택 기능이 포함된 사용자 인터페이스

이 예제는 지속적인 오디오 재생을 제공하는 톤 생성기를 제공합니다. UI를 통해 사용자는 오디오 출력 장치를 선택하고, 재생을 일시 중지 및 재개하며, 다양한 작동 모드 간에 전환하고, 볼륨을 조절하고, 오디오 형식 매개변수를 변경할 수 있습니다.

예제 실행

다음 경로에서 예제를 실행할 수 있습니다.

code.qt.io의 예제 프로젝트

© 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.