Skip to content

Commit

Permalink
microphone selection fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadMD1383 committed Jul 22, 2024
1 parent 1a8b380 commit e97de10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SoundLooper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ class SoundLooper final : public QObject {
if (not BASS_Init(-1, 48'000, BASS_DEVICE_DEFAULT, nullptr, nullptr))
exit(-10);

if (not BASS_RecordInit(0))
if (not BASS_RecordInit(2))
exit(-11);

recording = BASS_RecordStart(48'000, 2, 0, nullptr, nullptr);
recording = BASS_RecordStart(96'000, 1, 0, nullptr, nullptr);
if (not recording)
exit(-12);

Expand Down

0 comments on commit e97de10

Please sign in to comment.