-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support USB sound cards on Raspberry Pi 4 * Use separate Circle sound library * Allow to use system option USE_USB_FIQ (non-default) * Update README
- Loading branch information
Showing
6 changed files
with
137 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
// serialmididevice.cpp | ||
// | ||
// MiniSynth Pi - A virtual analogue synthesizer for Raspberry Pi | ||
// Copyright (C) 2017-2020 R. Stange <[email protected]> | ||
// Copyright (C) 2017-2022 R. Stange <[email protected]> | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
|
@@ -18,11 +18,16 @@ | |
// along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
// | ||
#include "serialmididevice.h" | ||
#include <circle/sysconfig.h> | ||
#include <assert.h> | ||
|
||
CSerialMIDIDevice::CSerialMIDIDevice (CMiniSynthesizer *pSynthesizer, CInterruptSystem *pInterrupt) | ||
: CMIDIDevice (pSynthesizer), | ||
#if RASPPI <= 3 && defined (USE_USB_FIQ) | ||
m_Serial (pInterrupt, FALSE), | ||
#else | ||
m_Serial (pInterrupt, TRUE), | ||
#endif | ||
m_nSerialState (0) | ||
{ | ||
} | ||
|