cupertino-sample-code/coreaudio-creating-an-audio-server-driver-plug-in
Mihaela Mihaljevic 37fd4fb24f Initial commit: 606 Apple sample code projects
MIT License - Apple Developer sample code
Downloaded via Cupertino (https://github.com/mihaelamj/cupertino)
2025-12-03 00:19:12 +01:00
..
Configuration Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
en.lproj Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
NullAudio.xcodeproj Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
.gitignore Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
LICENSE.txt Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
NullAudio-Info.plist Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
NullAudio.c Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
README.md Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00

Creating an Audio Server Driver Plug-in

Build a virtual audio device by creating a custom driver plug-in.

Overview

This sample shows how to create a minimal Audio Server plug-in. Written in standard C, the sample provides the minimal implementation you need to publish a single, functioning audio device to the system. The audio device provides the following features:

  • Configurable device primary volume, muting, and data sources
  • 44.1 kHz and 48 kHz sample rates
  • Two channels of audio I/O in 32-bit, floating point, linear PCM format

Install the samples .driver bundle to /Library/Audio/Plug-Ins/HAL and reboot your computer. Use Audio MIDI Setup to inspect the newly installed device.