Skip to content

Commit

Permalink
Release of audaspace 1.1
Browse files Browse the repository at this point in the history
- updated version number
- updated CHANGES
- updated INSTALL
  • Loading branch information
neXyon committed Oct 13, 2015
1 parent 326a300 commit 2f5e90f
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 11 deletions.
51 changes: 51 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,54 @@
Audaspace 1.1
=============

- Bug fixes:
- pkgconfig uses cmake configured library directory
- FFMPEG file writing crashed, also corrected pts for encoding
- silenced Doxygen warnings about undefined defines
- C++ API:
- ResampleReader uses specs instead of sample rate
- Bindings API:
- writing sounds to files
- reading sound data, specs and length
- resampling sounds
- CMake/Building:
- first steps towards building for Mac
- windows builds copy dlls automatically
- Python module:
- using distutils instead of setuptools
- added numpy as dependency
- Documentation:
- added windows building and plugin documentation
- disabled html timestamps in doxygen
- updated sphinx template
- build binding documentation without installing the python module

Detailed list of changes:

326a300 Documentation: windows, dll copying now done automatically.
54cac4f Windows: install dlls.
65c2d78 Bindings: Sound length and specs properties.
c38da70 Bindings API: adding resampling.
374822f Documentation: Added windows and plugin documentation.
a9dc5b9 Python module: add numpy as dependency.
c933a02 C API: implement new API based on the python API.
ac54c52 Python API: silence numpy warnings.
c9491bb Python API: checking for a positive sample rate.
4eb1fa8 Python API: reorder functions.
ec7c00b Sphinx update and fixes.
e16d979 FFMPEG: correct pts during encoding.
7ab3935 Documentation: git path fix.
28d77bb Python: use distutils directly instead of setuptools.
1f43284 Silence doxygen warning about undefined defines.
0d52458 CMake: improvements and fixes for building on Mac.
37daedf FFMPEG: bugfixes for file writing.
780ca2a ResampleReader API change
4d9863d Python API: Optimization for cached sounds' data access.
ea04fee Python API: read sound data and create sound buffers as well as getting the specs of a sound.
335b293 Python sound writing API.
36a7252 Pkgconfig: use cmake configured library directory.
5503908 Doxygen: disable html timestamps.

Initial Release of Audaspace 1.0
================================

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ endif()

project(audaspace)

set(AUDASPACE_VERSION 1.0)
set(AUDASPACE_VERSION 1.1)
set(AUDASPACE_LONG_VERSION ${AUDASPACE_VERSION})

# sources
Expand Down
49 changes: 39 additions & 10 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The build system used to build audaspace is CMake and it allows very building th
Build Dependencies
------------------

Audaspace is written in C++ 11 so a fairly recent compiler (g++ 4.8.2, clang 3.3, MSVC 2013) is needed to build it. The following build dependencies are all optional, but without any it's neither possible to open sound files nor play back through the speakers.
Audaspace is written in C++ 11 so a fairly recent compiler (g++ 4.8.2, clang 3.3, MSVC 2013) is needed to build it. The build system used is CMake and you need at least version 3.0. The following build dependencies are all optional, but without any it's neither possible to open sound files nor play back through the speakers. For windows a library folder called build-dependencies can be downloaded from https://github.com/audaspace/audaspace/releases.

- OpenAL (input/output device)
- SDL (output device)
Expand All @@ -24,10 +24,17 @@ The audaspace source code or binary releases can be downloaded from https://gith

For the most recent version you can use git to get the source code.

git clone https://github.com:audaspace/audaspace.git
git clone https://github.com/audaspace/audaspace.git

Configuration
-------------
Plugins
-------

Before diving into the exact build steps for each platform, we will have a look at plugins. There are so far two types of plugins: input and output plugins. Input plugins are for reading audio files in many different formats and output plugins are for output devices on different platforms. During the configuration audaspace's standard plugins can be enabled with their repsective `WITH_*` and `PLUGIN_*` configuration option. Plugins are built as shared libraries. By default audaspace looks in the `DEFAULT_PLUGIN_PATH` for shared libraries it can load. Building with a dependency (`WITH_*`) but without enabling the respective `PLUGIN_*` option will compile the plugin directly into the library, so the plugin always gets loaded when the plugins are initialised.

Building for Linux
------------------

### Configuration ###

It is highly recommended to build audaspace outside of the actual source code in a specific build directory.

Expand Down Expand Up @@ -56,23 +63,45 @@ __or__ it can be done by defining variables directly during the run of cmake.

This specific configuration is recommended for a system wide installation of audaspace where all build dependencies are required.

Building
--------
### Building ###

After configuration the building is as easy as running

make

Installation
------------
### Installation ###

Installation is then also simple using

make install

Using the library
-----------------
### Using the library ###

When audaspace is installed to the system, the required configuration for _pkgconfig_ is also installed and pkgconfig can then be used to compile projects with audaspace.

It is also possible to build audaspace as a static library and use it directly in a project. For this the library has to be configured accordingly with ccmake and after building the resulting library file can be added to the project's build system.

Building for Windows
--------------------

### Configuration ###

Using cmake-gui select Visual Studio 2013 or 2015 for the architecture you want to build for and choose audaspace's source directory and a build directory. It is highly recommended to build audaspace outside of the source directory. During the first configuration cmake tries to find the dependencies. Dependencies that are not installed on the system are automatically disabled. To prevent this, enable `WITH_STRICT_DEPENDENCIES`. To use the build dependencies folder from the website, set the `LIBRARY_PATH` to point to the extracted directory. Also don't forget to set the `CMAKE_INSTALL_PREFIX` to a path where your user account can install to. Finally enable the dependencies that you want to use (`WITH_*`), configure and generate.

### Building ###

Open the project in Visual Studio and set the configuration to Release. Then you can simply hit the build button.

### Installation ###

To install audaspace to your target folder, build the INSTALL target.
Note that if you don't use the libraries folder provided on the website, the INSTALL target might fail and you need to copy the files manually, including the dlls of the dependencies.

### Using the library ###

To use audaspace in your project, configure the include path and the libraries that you need, which you can find in the include and lib directories in your installation path.

### Notes for plugins on windows ###

- FFMPEG: Due to a problem with FFMPEG's 32 bit libraries, it is necessary to disable SAFESEH for the audffmpeg build target inside Visual Studio (Properties, Linker, Advanced). This has to be done after each generate step of CMake.
- Jack: If no jack server is running on windows and your application or one of the demos tries to use the jack plugin, this adds a long delay to the device initialisation. In case you don't need jack, make sure to disable the plugin or for the prebuilt version of audaspace simply delete audjack.dll (and any files with jack in the name to clean up).

0 comments on commit 2f5e90f

Please sign in to comment.