add audio setup options
This commit is contained in:
1
TODO
1
TODO
@@ -1,7 +1,6 @@
|
||||
-figure out all magic commands
|
||||
-make complete gui
|
||||
-amp/cabinet models
|
||||
-audio setup options
|
||||
-tone library
|
||||
-effects library
|
||||
-effects level
|
||||
|
||||
4
gdigi.h
4
gdigi.h
@@ -455,6 +455,10 @@ enum {
|
||||
#define EXP_MIN 8195
|
||||
#define EXP_MAX 8196
|
||||
|
||||
#define USB_POSITION 0
|
||||
#define USB_AUDIO_PLAYBACK_MIX 12297
|
||||
#define USB_AUDIO_LEVEL 12307
|
||||
|
||||
void set_option(guint id, guint position, guint value);
|
||||
void set_wah_min(int level);
|
||||
void set_wah_max(int level);
|
||||
|
||||
12
tests.c
12
tests.c
@@ -861,6 +861,17 @@ void test_exp()
|
||||
set_option(EXP_MAX, EXP_POSITION, x);
|
||||
}
|
||||
|
||||
void test_usb()
|
||||
{
|
||||
int x;
|
||||
|
||||
for (x=0; x<=100; x++)
|
||||
set_option(USB_AUDIO_PLAYBACK_MIX, USB_POSITION, x);
|
||||
|
||||
for (x=0; x<=36; x++)
|
||||
set_option(USB_AUDIO_LEVEL, USB_POSITION, x);
|
||||
}
|
||||
|
||||
void test_all()
|
||||
{
|
||||
test_wah();
|
||||
@@ -874,4 +885,5 @@ void test_all()
|
||||
test_delay();
|
||||
test_reverb();
|
||||
test_exp();
|
||||
test_usb();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user