Skip to content

cxleb/saapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SAAPI - Simple Audio API

A No-Frills Simple Audio API for Microsoft Windows

  • uses WASAPI
  • Multithreaded by design
  • 1 C++ & Header file

Example

#include "saapi.h"

auto context = SAAPI::getContext();
context->setBufferAvailableCallback([](float* buffer, unsigned int size)
{
    // fill buffer
});
context->play();

Building

simply add saapi.cpp to your project and ensure your linking with ole32.lib and winmm.lib

TODO

  • Audio input
  • MIDI(need a controller first)
  • Better error handling

About

Simple Audio API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published