GithubHelp home page GithubHelp logo

alsaplusplus's Introduction

C++ Wrapper for ALSA C API

CircleCI

A basic C++14 wrapper for the ALSA C API on Linux.

Requirements:

  • A Linux-based system
  • CMake 3.1 or higher
  • The ALSA C API (libasound2-dev on Ubuntu/Debian)

Installation:

  1. Clone this repository.
  2. In the cloned folder, run:
mkdir build && cd build
cmake ..
make
sudo make install

If you want the example files to be built/installed, change the cmake command above to:

cmake .. -DWITH_EXAMPLES=ON

Usage:

See the example files in the repository or the header files.

alsaplusplus's People

Contributors

maximus5684 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

alsaplusplus's Issues

error: alsaplusplus/pcm.tpp: No such file or directory

Hello sir,
Thnx for sharing in advance.
I built your library with these steps:
mkdir build
cd build
cmake ..
make
sudo make install
output :
[100%] Built target AlsaPlusPlus Install the project... -- Install configuration: "" -- Up-to-date: /usr/local/lib/libAlsaPlusPlus.so.0.1.1 -- Up-to-date: /usr/local/lib/libAlsaPlusPlus.so.0 -- Up-to-date: /usr/local/lib/libAlsaPlusPlus.so -- Up-to-date: /usr/local/include/alsaplusplus/common.hpp -- Up-to-date: /usr/local/include/alsaplusplus/error.hpp -- Up-to-date: /usr/local/include/alsaplusplus/mixer.hpp -- Up-to-date: /usr/local/include/alsaplusplus/pcm.hpp
then i created a simple console application with qt creator and added your wrapper to the .pro file.
LIBS+= -lasound
LIBS+= -lalsaplusplus
on building the example project i face the error which point me to a file which is not there.
/usr/local/include/alsaplusplus/pcm.hpp:63:12: fatal error: alsaplusplus/pcm.tpp: No such file or directory #include <alsaplusplus/pcm.tpp>

any idea what is wrong.
I use elementary os 5.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.