-
Notifications
You must be signed in to change notification settings - Fork 247
Use MVerb by Martin Eastwood for reverberation #3787
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
base: main
Are you sure you want to change the base?
Changes from all commits
ff75cad
ade9cc0
cdb9c40
a9f9de8
c3213b9
4eb4b45
45550a8
b256769
32e6435
972da6f
be79807
0c72837
d0479e5
77ccca7
cfe7361
91f1e34
8d497f8
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 |
|---|---|---|
| @@ -1,3 +1,6 @@ | ||
| [submodule "libs/oboe"] | ||
| path = libs/oboe | ||
| url = ../../google/oboe.git | ||
| [submodule "libs/mverb"] | ||
| path = libs/mverb | ||
| url = https://github.com/martineastwood/mverb.git | ||
|
dingodoppelt marked this conversation as resolved.
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -61,7 +61,9 @@ | |
| #include "socket.h" | ||
| #include "channel.h" | ||
| #include "util.h" | ||
| #include "plugins/audioreverb.h" | ||
| #ifndef NO_REVERB | ||
| # include "plugins/audioreverb.h" | ||
| #endif | ||
| #include "buffer.h" | ||
| #include "signalhandler.h" | ||
|
|
||
|
|
@@ -206,17 +208,15 @@ class CClient : public QObject | |
|
|
||
| int GetAudioInFader() const { return iAudioInFader; } | ||
| void SetAudioInFader ( const int iNV ) { iAudioInFader = iNV; } | ||
|
|
||
| #ifndef NO_REVERB | ||
| int GetReverbLevel() const { return iReverbLevel; } | ||
| int GetReverbPreset() const { return AudioReverb.getPreset(); } | ||
| void SetReverbLevel ( const int iNL ) { iReverbLevel = iNL; } | ||
| void SetReverbPreset ( const int iNP ) { AudioReverb.setPreset ( iNP ); } | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
|
|
||
| bool IsReverbOnLeftChan() const { return bReverbOnLeftChan; } | ||
| void SetReverbOnLeftChan ( const bool bIL ) | ||
| { | ||
| bReverbOnLeftChan = bIL; | ||
| AudioReverb.Clear(); | ||
| } | ||
|
|
||
| void SetReverbOnLeftChan ( const bool bIL ) { bReverbOnLeftChan = bIL; } | ||
| #endif | ||
| void SetDoAutoSockBufSize ( const bool bValue ); | ||
| bool GetDoAutoSockBufSize() const { return Channel.GetDoAutoSockBufSize(); } | ||
|
|
||
|
|
@@ -431,11 +431,13 @@ class CClient : public QObject | |
|
|
||
| CVector<uint8_t> vecbyNetwData; | ||
|
|
||
| std::atomic<int> iAudioInFader; | ||
| std::atomic<bool> bReverbOnLeftChan; | ||
| std::atomic<int> iReverbLevel; | ||
| CAudioReverb AudioReverb; | ||
| std::atomic<int> iInputBoost; | ||
| int iAudioInFader; | ||
| #ifndef NO_REVERB | ||
| bool bReverbOnLeftChan; | ||
| int iReverbLevel; | ||
| CAudioReverb AudioReverb; | ||
| #endif | ||
| int iInputBoost; | ||
|
Comment on lines
+434
to
+440
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. 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win 🔎 Supported by static analysis🤖 get_repo_knowledge executed:
Length of output: 8061 🏁 Script executed: #!/bin/bash
set -eu
printf '%s\n' '--- client.h relevant declarations ---'
sed -n '380,470p' src/client.h
printf '%s\n' '--- matching definitions and uses ---'
rg -n -C 4 'ProcessAudioDataIntern|iAudioInFader|iInputBoost|iReverbLevel|bReverbOnLeftChan|SetReverbPreset|setPreset' srcRepository: jamulussoftware/jamulus Length of output: 16424 🏁 Script executed: #!/bin/bash
set -eu
printf '%s\n' '--- client API and callback implementation ---'
sed -n '180,225p' src/client.h
sed -n '295,315p' src/client.h
sed -n '1490,1585p' src/client.cpp
printf '%s\n' '--- sound callback binding and audio thread contract ---'
rg -n -C 5 'AudioCallback|ProcessSndCrdAudioData|Sound \(' src/client.cpp src/client.h src/sound/soundbase.h src/sound/soundbase.cpp
printf '%s\n' '--- reverb implementation and preset callers ---'
sed -n '1,90p' src/plugins/audioreverb.h
sed -n '1,85p' src/plugins/audioreverb.cpp
sed -n '490,520p' src/settings.cpp
sed -n '1405,1425p' src/clientsettingsdlg.cppRepository: jamulussoftware/jamulus Length of output: 17127 🏁 Script executed: #!/bin/bash
set -eu
printf '%s\n' '--- GUI callers for the remaining setters ---'
rg -n -C 3 'SetAudioInFader|SetReverbLevel|SetReverbOnLeftChan' src --glob '*.{cpp,h}'
printf '%s\n' '--- sound callback declaration and invocation ---'
rg -n -C 6 'AudioCallback|pfn|callback|Callback' src/sound src --glob 'sound*.h' --glob 'sound*.cpp' | head -n 180Repository: jamulussoftware/jamulus Length of output: 15572 Keep audio-thread state synchronized.
🤖 Prompt for AI Agents |
||
|
|
||
| int iSndCrdPrefFrameSizeFactor; | ||
| int iSndCrdFrameSizeFactor; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.