Blame README.md

rpm-build ca19af
# Portible C Audio Library
rpm-build ca19af
rpm-build ca19af
- [Build Dependencies](#build-dependencies)
rpm-build ca19af
  - [Debian](#debian)
rpm-build ca19af
  - [Mac OS](#mac-os)
rpm-build ca19af
- [Building](#building)
rpm-build ca19af
- [Bugs](#bugs)
rpm-build ca19af
- [License Information](#license-information)
rpm-build ca19af
rpm-build ca19af
----------
rpm-build ca19af
rpm-build ca19af
The Portable C Audio Library (pcaudiolib) provides a C API to different audio
rpm-build ca19af
devices. It supports:
rpm-build ca19af
rpm-build ca19af
| Audio Framework | Operating System |
rpm-build ca19af
|-----------------|------------------|
rpm-build ca19af
| ALSA            | Linux            |
rpm-build ca19af
| CoreAudio       | Mac OS           |
rpm-build ca19af
| OSS             | POSIX            |
rpm-build ca19af
| PulseAudio      | Linux            |
rpm-build ca19af
| QSA             | QNX              |
rpm-build ca19af
| XAudio2         | Windows          |
rpm-build ca19af
rpm-build ca19af
See the [CHANGELOG](CHANGELOG.md) for a description of the changes in the
rpm-build ca19af
various releases.
rpm-build ca19af
rpm-build ca19af
## Build Dependencies
rpm-build ca19af
rpm-build ca19af
In order to build the project, you need:
rpm-build ca19af
rpm-build ca19af
1.  a functional autotools system (`make`, `autoconf`, `automake`, `libtool`
rpm-build ca19af
    and `pkg-config`);
rpm-build ca19af
2.  a functional c compiler (e.g. gcc or clang).
rpm-build ca19af
rpm-build ca19af
__NOTE:__ Some of the Windows SDK APIs (e.g. the XAudio2 headers) don't compile
rpm-build ca19af
with a C compiler, so a C++ compiler is needed to compile them.
rpm-build ca19af
rpm-build ca19af
Optionally, you need:
rpm-build ca19af
rpm-build ca19af
1.  the alsa development libraries to enable alsa audio output;
rpm-build ca19af
2.  the pulseaudio development library to enable pulseaudio output.
rpm-build ca19af
rpm-build ca19af
### Debian
rpm-build ca19af
rpm-build ca19af
Core dependencies:
rpm-build ca19af
rpm-build ca19af
| Dependency | Install                                                          |
rpm-build ca19af
|------------|------------------------------------------------------------------|
rpm-build ca19af
| autotools  | `sudo apt-get install make autoconf automake libtool pkg-config` |
rpm-build ca19af
| c compiler | `sudo apt-get install gcc`                                       |
rpm-build ca19af
rpm-build ca19af
Optional Libraries:
rpm-build ca19af
rpm-build ca19af
| Dependency     | Install                                    |
rpm-build ca19af
|----------------|--------------------------------------------|
rpm-build ca19af
| alsa           | `sudo apt-get install libasound2-dev`      |
rpm-build ca19af
| pulseaudio     | `sudo apt-get install libpulse-dev`        |
rpm-build ca19af
rpm-build ca19af
### Mac OS
rpm-build ca19af
rpm-build ca19af
To enable CoreAudio output support you need to have the coreaudio framework on
rpm-build ca19af
your system. Installing XCode along with the Mac OS SDK is the recommended way
rpm-build ca19af
of getting it.
rpm-build ca19af
rpm-build ca19af
## Building
rpm-build ca19af
rpm-build ca19af
This project uses a standard autotools build system with an `autogen.sh` script.
rpm-build ca19af
You can thus build the project using:
rpm-build ca19af
rpm-build ca19af
	./autogen.sh
rpm-build ca19af
	./configure --prefix=/usr
rpm-build ca19af
	make
rpm-build ca19af
rpm-build ca19af
and install it using:
rpm-build ca19af
rpm-build ca19af
	sudo make install
rpm-build ca19af
rpm-build ca19af
## Bugs
rpm-build ca19af
rpm-build ca19af
Report bugs to the [pcaudiolib issues](https://github.com/espeak-ng/pcaudiolib/issues)
rpm-build ca19af
page on GitHub.
rpm-build ca19af
rpm-build ca19af
## License Information
rpm-build ca19af
rpm-build ca19af
The Portable C Audio Library is released under the [GPL version 3](COPYING) or
rpm-build ca19af
later license.