diff options
author | Roland Reichwein <mail@reichwein.it> | 2025-01-05 21:11:32 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2025-01-05 21:11:32 +0100 |
commit | 88ab4cec9636a3e7b43906e5e7d0f67ac77eb2d6 (patch) | |
tree | b35f96ce516f2ccdefaceb7ad118a82295cf3d02 /PCM.cpp | |
parent | 8295ee7ed24c82eceff15eddc57caa9ab5eda969 (diff) |
Use snd_pcm_start() in compatible way (PC + PI)
Diffstat (limited to 'PCM.cpp')
-rw-r--r-- | PCM.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -40,7 +40,8 @@ PCM::PCM(Config& config): if (0 > snd_pcm_start(handle)) { - throw std::runtime_error("PCM could not be started"); + // On raspberry, this results in error. However, seems to generally work without + log_cout << "PCM could not be started" << std::endl; } if (npfd != 1) { |