AudioSource: Create abstract way to access file data
authorGabriel M. Beddingfield <gabrbedd@gmail.com>
Mon, 25 Mar 2013 05:17:51 +0000 (22:17 -0700)
committerGabriel M. Beddingfield <gabrbedd@gmail.com>
Mon, 25 Mar 2013 05:17:51 +0000 (22:17 -0700)
commit0502d5662f76e208f868ddb9937c32852457e660
tree084a2221b99fe129cbc8c92a94ddad1cd9de7bb5
parenta0ed34be947c5f106e57c611bbbba405d94d577a
AudioSource: Create abstract way to access file data

This introduces the classes AudioSource and FileMemoryAudioSource (and
related tests).  These are not yet used by StretchPlayer, but are
added in order to refactor the way that the audio data is accessed.
The end goal is to be able to have an implementation that does not
need to load all of the audio data into memory.
src/AudioSource.cpp [new file with mode: 0644]
src/AudioSource.hpp [new file with mode: 0644]
src/CMakeLists.txt
src/FileMemoryAudioSource.cpp [new file with mode: 0644]
src/FileMemoryAudioSource.hpp [new file with mode: 0644]
src/tests/1040_FileMemoryAudioSource.cpp [new file with mode: 0644]
src/tests/CMakeLists.txt
src/tests/generate-triangle-1-sec.cpp [new file with mode: 0644]
src/tests/triangle-1-sec.wav [new file with mode: 0644]