summaryrefslogtreecommitdiffhomepage
path: root/PCM.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'PCM.cpp')
-rw-r--r--PCM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/PCM.cpp b/PCM.cpp
index 4388974..c0bc5dc 100644
--- a/PCM.cpp
+++ b/PCM.cpp
@@ -5,7 +5,7 @@ PCM::PCM(Config& config):
m_phase(1000000)
{
// prepare the sample
- std::string data_s = Reichwein::File::getFile("media/click.s16le");
+ std::string data_s = Reichwein::File::getFile(m_config.get_click_data_filename());
m_data.resize(data_s.size() / 2); // src is in bytes
memcpy(m_data.data(), data_s.data(), data_s.size());