-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
16 TGs on RPi 4 #557
16 TGs on RPi 4 #557
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ CMiniDexed::CMiniDexed (CConfig *pConfig, CInterruptSystem *pInterrupt, | |
m_pSoundDevice (0), | ||
m_bChannelsSwapped (pConfig->GetChannelsSwapped ()), | ||
#ifdef ARM_ALLOW_MULTI_CORE | ||
m_nActiveTGsLog2 (0), | ||
//m_nActiveTGsLog2 (0), | ||
#endif | ||
m_GetChunkTimer ("GetChunk", | ||
1000000U * pConfig->GetChunkSize ()/2 / pConfig->GetSampleRate ()), | ||
|
@@ -567,9 +567,9 @@ void CMiniDexed::SetMIDIChannel (uint8_t uchChannel, unsigned nTG) | |
} | ||
} | ||
|
||
assert (nActiveTGs <= 8); | ||
static const unsigned Log2[] = {0, 0, 1, 2, 2, 3, 3, 3, 3}; | ||
m_nActiveTGsLog2 = Log2[nActiveTGs]; | ||
//assert (nActiveTGs <= 16); | ||
//static const unsigned Log2[] = {0, 0, 1, 2, 2, 3, 3, 3, 3}; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What was this doing? Can it just be commented out? |
||
//m_nActiveTGsLog2 = Log2[nActiveTGs]; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What was this doing? Can it just be commented out? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know why any of this code was in there - I can only assume it was relevant at some point and then no longer required. It certainly isn't used at the moment anywhere I could find, hence taking it out. Kevin |
||
#endif | ||
|
||
m_UI.ParameterChanged (); | ||
|
@@ -1018,7 +1018,7 @@ void CMiniDexed::ProcessSound (void) | |
// Audio signal path after tone generators starts here | ||
// | ||
|
||
assert (CConfig::ToneGenerators == 8); | ||
assert (CConfig::ToneGenerators == 16); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wouldn't we need an |
||
|
||
uint8_t indexL=0, indexR=1; | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was this doing? Can it just be commented out?