|
From: Yoda-JM <yo...@us...> - 2010-08-15 14:51:48
|
Module: performous
Branch: joinmenu
Commit: c2f54befed710fc626c5f66d32bc71c440e6f6f2
Author: Lasse Karkkainen <tro...@tr...>
Date: Sat Jun 19 04:12:13 2010 +0300
Remove unused Audio::open function
---
game/audio.cc | 3 ---
game/audio.hh | 2 --
2 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/game/audio.cc b/game/audio.cc
index bcffa80..7fd5b5f 100644
--- a/game/audio.cc
+++ b/game/audio.cc
@@ -119,9 +119,6 @@ struct Audio::Impl {
Audio::Audio(): self(new Impl) {}
Audio::~Audio() {}
-void Audio::open(std::string const& pdev, std::size_t rate, std::size_t frames) {
-}
-
void Audio::play(Sample const& s, std::string const& volumeSetting) {
}
diff --git a/game/audio.hh b/game/audio.hh
index bbe5045..1585d23 100644
--- a/game/audio.hh
+++ b/game/audio.hh
@@ -23,8 +23,6 @@ public:
Audio();
~Audio();
boost::ptr_vector<Analyzer>& analyzers() { static boost::ptr_vector<Analyzer> ana; return ana; }
- /** Takes libda devstr and sample rate. Throws if the device fails. **/
- void open(std::string const& pdev, std::size_t rate, std::size_t frames);
/// if audio is currently playing
bool isOpen() const { return false; }
/** Play a song beginning at startPos (defaults to 0)
|