• Stars
    star
    1,339
  • Rank 34,861 (Top 0.7 %)
  • Language
    C++
  • License
    Other
  • Created over 10 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A flexible universal ASIO driver that uses the PortAudio sound I/O library. Supports WASAPI (shared and exclusive), KS, DirectSound and MME.

FlexASIO, the flexible universal ASIO driver

Brought to you by Etienne Dechamps - GitHub

ASIO is a trademark and software of Steinberg Media Technologies GmbH

If you are looking for an installer, see the GitHub releases page.

Description

FlexASIO is a universal ASIO driver, meaning that it is not tied to specific audio hardware. Other examples of universal ASIO drivers include ASIO4ALL, ASIO2KS, ASIO2WASAPI.

Universal ASIO drivers use hardware-agnostic audio interfaces provided by the operating system to produce and consume sound. The typical use case for such a driver is to make ASIO usable with audio hardware that doesn't come with its own ASIO drivers, or where the bundled ASIO drivers don't provide the desired functionality.

While ASIO4ALL and ASIO2KS use a low-level Windows audio API known as Kernel Streaming (also called "DirectKS", "WDM-KS") to operate, and ASIO2WASAPI uses WASAPI (in exclusive mode only), FlexASIO differentiates itself by using an intermediate library called PortAudio that itself supports a large number of operating system sound APIs, which includes Kernel Streaming and WASAPI (in shared and exclusive mode), but also the more mundane APIs MME and DirectSound. Thus FlexASIO can be used to interface with any sound API available on a Windows system. For more information, see the backends documentation.

Among other things, this makes it possible to emulate a typical Windows application that opens an audio device in shared mode. This means other applications can use the same audio devices at the same time, with the Windows audio engine mixing the various audio streams. Other universal ASIO drivers do not offer this functionality as they always open audio devices in exclusive mode.

Requirements

  • Windows Vista or later
  • Compatible with 32-bit and 64-bit ASIO Host Applications

Usage

After running the installer, FlexASIO should appear in the ASIO driver list of any ASIO Host Application (e.g. Cubase, Sound Forge, Room EQ Wizard).

The default settings are as follows:

  • DirectSound backend
  • Uses the Windows default recording and playback audio devices
  • 32-bit float sample type
  • 20 ms "preferred" buffer size

All of the above can be customized using a configuration file. You might want to use a third-party tool such as flipswitchingmonkey's FlexASIO GUI to make this easier.

For more advanced use cases, such as low-latency operation and bit-perfect streaming, see the FAQ.

Troubleshooting

The FAQ provides information on how to deal with common issues. Otherwise, FlexASIO provides a number of troubleshooting tools described below.

Logging

FlexASIO includes a logging system that describes everything that is happening within the driver in an excruciating amount of detail. It is especially useful for troubleshooting driver initialization failures and other issues. It can also be used for verification (e.g. to double-check that FlexASIO is using the device and audio format that you expect).

To enable logging, simply create an empty file (e.g. with Notepad) named FlexASIO.log directly under your user directory (e.g. C:\Users\Your Name Here\FlexASIO.log). Then restart your ASIO Host Application. FlexASIO will notice the presence of the file and start logging to it.

Note that the contents of the log file are intended for consumption by developers. That said, grave errors should stick out in an obvious way (especially if you look towards the end of the log). If you are having trouble interpreting the contents of the log, feel free to ask for help.

Do not forget to remove the logfile once you're done with it (or move it elsewhere). Indeed, logging slows down FlexASIO, which can lead to discontinuities (audio glitches). The logfile can also grow to a very large size over time. To prevent accidental disk space exhaustion, FlexASIO will stop logging if the logfile exceeds 1 GB.

Device list program

FlexASIO includes a program that can be used to get the list of all the audio devices that PortAudio (and therefore FlexASIO) knows about, as well as detailed information about each device.

The program is called PortAudioDevices.exe and can be found in the x64 (64-bit) or x86 (32-bit) subfolder in the FlexASIO installation folder. It is a console program that should be run from the command line. It doesn't matter much which one you use.

Test program

FlexASIO includes a rudimentary self-test program that can help diagnose issues in some cases. It attempts to emulate what a basic ASIO host application would do in a controlled, easily reproducible environment.

The program is called FlexASIOTest.exe and can be found in the x64 (64-bit) or x86 (32-bit) subfolder in the FlexASIO installation folder. It is a console program that should be run from the command line.

It is a good idea to have logging enabled while running the test.

Note that a successful test run does not necessarily mean FlexASIO is not at fault. Indeed it might be that the ASIO host application that you're using is triggering a pathological case in FlexASIO. If you suspect that's the case, please feel free to ask for help.

Reporting issues, feedback, feature requests

FlexASIO welcomes feedback. Feel free to file an issue in the GitHub issue tracker, if there isn't one already.

When asking for help, it is strongly recommended to produce a log while the problem is occurring, and attach it to your report. The output of FlexASIOTest, along with its log output, might also help.


ASIO logo

More Repositories

1

WinIPBroadcast

Automagically sends IP broadcast packets to all interfaces on Windows
C
244
star
2

laplock

Auto-lock your Windows computer when the lid is closed or the screen turns off.
C++
125
star
3

RudeWindowFixer

Fix Windows taskbar always-on-top issues
C
102
star
4

APO

Some random notes about Windows Audio Processing Objects (APOs).
62
star
5

WinSoftVol

A Windows filter driver that disables hardware volume control on audio devices.
C
35
star
6

LoudspeakerExplorer

A loudspeaker measurement visualization, analysis and comparison tool.
Python
21
star
7

audiotools

Random potpourri of docs and tools related to audio measurement and analysis.
Python
20
star
8

yabe

Yet Another Bacnet Explorer - unofficial GitHub mirror. NOT THE OFFICIAL REPO - PULL REQUESTS WILL NOT BE REVIEWED
C#
19
star
9

WindowInvestigator

A Windows window manager investigation toolbox
C
10
star
10

LGTVDeviceListener

Switch LGTV inputs based on Windows device changes
C++
9
star
11

videojitter

Tools for physical measurement of video frame presentation timing
Jupyter Notebook
9
star
12

ASIO401

An unofficial ASIO driver for the QuantAsylum QA403, QA402 and QA401 audio analyzers.
C++
6
star
13

HDRCompare

A suite of ffmpeg filters for comparing SDR and HDR video material
6
star
14

ASIOUtil

Random grab bag of utilities for developing ASIO audio drivers.
C++
5
star
15

LoudspeakerExplorer-rendered

Pre-rendered Loudspeaker Explorer notebook with some example settings for demonstration purposes.
Jupyter Notebook
5
star
16

kmlpipe

A geographic data processing toolbox based on KML, bash, and XSLT.
XSLT
5
star
17

ASIOTest

A library for testing ASIO audio drivers.
C++
5
star
18

AudioMeterEvent

A utility that triggers HTTP requests based on Windows audio device levels.
C#
4
star
19

MMEBufferSizes

Minimal repro for unexpected glitching with MME small buffer sizes
C
2
star
20

cpplog

A basic logging library for C++. (Windows-only, for now.)
C++
1
star
21

CMakeUtils

Random grab bag of generic CMake utilities.
CMake
1
star
22

scrypt

http://www.tarsnap.com/scrypt.html
C
1
star
23

cpputil

Random grab bag of generic C++ utilities.
C++
1
star
24

WorldInConflict-FPM

World In Conflict mod for playing non-FPM games with FPM rules
Python
1
star
25

mso2eapo

Multi-Sub Optimizer to Equalizer APO converter
Shell
1
star