new NANA_ENABLE_AUDIO to enable PCM playback

This commit is contained in:
Jinhao
2016-01-28 22:36:15 +08:00
parent 1c938a06fd
commit 8eb131e093
10 changed files with 50 additions and 7 deletions

View File

@@ -1,4 +1,7 @@
#include <nana/audio/player.hpp>
#ifdef NANA_ENABLE_AUDIO
#include <nana/audio/detail/audio_stream.hpp>
#include <nana/audio/detail/audio_device.hpp>
#include <nana/audio/detail/buffer_preparation.hpp>
@@ -62,4 +65,6 @@ namespace nana{ namespace audio
impl_->stream.close();
}
}//end namespace audio
}//end namespace nana
}//end namespace nana
#endif //NANA_ENABLE_AUDIO