다음을 통해 공유


샘플 오디오 드라이버

SYSVAD 오디오 샘플

시스템 가상 오디오 디바이스 드라이버 샘플(SYSVAD)

SYSVAD 드라이버는 WDM 오디오 아키텍처의 많은 중요한 기능을 강조 표시합니다. 이는 독점 오디오 디바이스에 대한 사용자 지정 드라이버를 작성하기 위한 시작점으로 사용할 수 있는 소스 코드를 사용하여 구현하는 작업입니다.

The sysvad solution file contains the following projects.

  • TabletAudioSample

    The TabletAudioSample project demonstrates how to develop a WDM audio driver that exposes support for multiple audio devices. 이러한 오디오 장치 중 일부는 시스템에 포함(스피커, 마이크 배열)이며 다른 장치는 플러그형(헤드폰 스피커/마이크, Bluetooth 헤드셋 스피커/마이크)입니다. 드라이버는 디바이스 렌더링에 WaveRT 및 오디오 오프로드를 사용합니다. 드라이버는 실제 하드웨어 기반 어댑터 대신 "가상 오디오 디바이스"를 사용하고 WDM 오디오 드라이버 아키텍처를 오프로드하는 오디오의 다양한 측면을 강조 표시합니다. Windows 오디오 엔진에 대한 자세한 내용은 Hardware-Offloaded 오디오 처리(Windows 드라이버)를 참조하세요.

  • EndpointsCommon

    The EndpointsCommon project contains common code to both the tablet and phone. 자세한 내용은 오디오용 유니버설 Windows 드라이버를 참조하세요.

  • SwapAPO

    The SwapAPO project demonstrates how to develop audio processing objects. 오디오 처리 개체를 등록 및 등록 취소하는 방법을 보여 주는 샘플 코드와 처리 개체에서 사용 가능한 기능을 반영하도록 제어판 속성 페이지를 사용자 지정하는 방법도 보여 줍니다. 자세한 내용은 Windows 오디오 처리 개체를 참조하세요.

  • KeywordDetectorAdapter

    The KeywordDetectorAdapter project demonstrates how to develop a keyword detector adapter. For more information, see Voice Activation.

GitHub에서 Sysvad 오디오 샘플 다운로드 및 추출

SYSVAD 오디오 샘플은 Windows 드라이버 샘플 GitHub에서 사용할 수 있습니다.

여기에서 Sysvad 오디오 샘플을 찾아볼 수 있습니다.

https://github.com/Microsoft/Windows-driver-samples/tree/main/audio/sysvad

다음 단계에 따라 SYSVAD 샘플을 다운로드하고 엽니다.

a. GitHub 도구를 사용하여 샘플을 사용할 수 있습니다. 하나의 zip 파일에서 유니버설 드라이버 샘플을 다운로드할 수도 있습니다.

https://github.com/Microsoft/Windows-driver-samples/archive/master.zip

b. 로컬 하드 드라이브에 master.zip 파일을 다운로드합니다.

c. Select and hold (or right-click)Windows-driver-samples-master.zip, and choose Extract All. 새 폴더를 지정하거나 추출된 파일을 저장할 기존 폴더를 찾습니다. For example, you could specify C:\DriverSamples\ as the new folder into which the files will be extracted.

d. 파일을 추출한 후 다음 하위 폴더로 이동합니다.

C:\DriverSamples\Audio\Sysvad

Visual Studio에서 드라이버 솔루션 열기

In Microsoft Visual Studio, Select File>Open>Project/Solution... and navigate to the folder that contains the extracted files (for example, C:\DriverSamples\Audio\Sysvad). Double-click the Sysvad solution file to open it.

Visual Studio에서 솔루션 탐색기를 찾습니다. (If this is not already open, choose Solution Explorer from the View menu.) In Solution Explorer, you can see one solution that has six projects.

보관된 오디오 샘플

이러한 오디오 샘플은 이전 버전의 Microsoft WDK(Windows 드라이버 키트)를 지원합니다. zip 파일 다운로드의 일부로 사용할 수 있습니다.

  • Microsoft Virtual Audio Device Driver 샘플(Msvad)

  • AC97 드라이버(Ac97)

  • DirectMusic UART 드라이버 샘플(Dmusuart)

  • DirectMusic Software Synthesizer 샘플(ddksynth)

  • FM 신시사이저(Fmsynth)

  • 오디오 어댑터 샘플

오디오 처리 코덱 샘플

  • Msfilter 샘플 코덱(MsFilter)

  • Msgsm610 샘플 코덱(gsm610)

자세한 내용은 WDK에서 이러한 각 샘플과 함께 제공되는 추가 정보 설명서를 참조하세요.

WDK 샘플에 대한 자세한 내용은 Windows 드라이버 키트 샘플 팩(Windows 드라이버)을 참조하세요.