• Home
  • Documents
  • Download
  • Status
  • FAQ
  • Mailing list
  • Applications
  • Links
  • License
  • Volunteer
  • Contacts

ALSA - Advanced Linux Sound Architecture


Official ALSA site : http://www.alsa-project.org

Enable ALSA module

DEFINEs

If you want to enable Advanced Linux Sound Architecture module, your C++ compiler must add the following DEFINEs:

ENABLE_HOST_ALSA

Source files

C++ files must include the following two:

  1. CiosAudio/Platforms/Linux/CaALSA.hpp
  2. CiosAudio/Platforms/Linux/CaALSA.cpp

If you are using another platform, such as Android or FreeBSD, just replace Linux into platform name.

Qt

If you are using Qt, in the following file:

CiosAudio/Platforms/Linux/HostAPIs.pri

Enable the following setting:

HostAPIs += ALSA
If you are using another platform, such as Android or FreeBSD, just replace Linux into platform name.

Libraries

Advanced Linux Sound Architecture uses dlopen to load "libasound.so". However you might still need to link with "libasound.a".