diff options
author | Roland Reichwein <mail@reichwein.it> | 2025-01-05 22:32:01 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2025-01-05 22:32:01 +0100 |
commit | 03b28f03c38b35bcc1bbd1ec28a7be17affd3d28 (patch) | |
tree | ec70d62bb681b34b7afe50d292fd138e8bc0ff49 /PCM.cpp | |
parent | 88ab4cec9636a3e7b43906e5e7d0f67ac77eb2d6 (diff) |
Automatically access click sound file
Diffstat (limited to 'PCM.cpp')
-rw-r--r-- | PCM.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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()); |