Description

D binding to Windows Core Audio interfaces: Core Audio interfaces: MMDevice, WASAPI, EndpointVolume API

Package Information

Version0.1.3 (2017-Feb-10)
Homepage https://github.com/buggins/wasapi
Repository https://github.com/buggins/wasapi
LicenseBoost
AuthorsVadim Lopatin
Registered byVadim Lopatin
Dependencies none

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

wasapi

D bindings of Windows Core Audio interfaces: Core Audio interfaces: MMDevice, WASAPI, EndpointVolume API

Manual translation of Windows Core Audio .h files.

// Useful helper functions: setHighThreadPriority && restoreThreadPriority.

// use setHighThreadPriority to boost current thread priority
void * hTask = setHighThreadPriority();

// play audio

// restore normal priority
restoreThreadPriority(hTask);

Available versions

0.1.3 0.1.2 0.1.1 0.1.0 ~master