Start work on multithreaded version
This commit is contained in:
parent
e9170b38ff
commit
96152fd3ed
25 changed files with 1486 additions and 1977 deletions
62
constants.h
Normal file
62
constants.h
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
#ifndef CONSTANTS_H
|
||||
#define CONSTANTS_H
|
||||
|
||||
// USB vendor id
|
||||
#define FENDER_VID 0x1ed8
|
||||
|
||||
// USB product ids
|
||||
#define MI_II_V1 0x0004
|
||||
#define MIII_IV_V_V1 0x0005
|
||||
#define M_BRONCO_40 0x000a
|
||||
#define M_MINI 0x0010
|
||||
#define M_FLOOR 0x0012
|
||||
#define MI_II_V2 0x0014
|
||||
#define MIII_IV_V_V2 0x0016
|
||||
|
||||
#define DSP 2
|
||||
#define PATCH_SLOT 4
|
||||
#define EFFECT 16
|
||||
#define FXSLOT 18
|
||||
|
||||
// direct control fields
|
||||
#define FAMILY 2
|
||||
#define ACTIVE_INVERT 3
|
||||
|
||||
// Offset to current device model for any state structure
|
||||
#define MODEL 16
|
||||
#define MODELX 17
|
||||
|
||||
// Index into current state structure
|
||||
#define AMP_STATE 0
|
||||
#define STOMP_STATE 1
|
||||
#define MOD_STATE 2
|
||||
#define DELAY_STATE 3
|
||||
#define REVERB_STATE 4
|
||||
#define PEDAL_STATE 5
|
||||
|
||||
// DSP Category
|
||||
#define AMP_DSP 5
|
||||
#define STOMP_DSP 6
|
||||
#define MOD_DSP 7
|
||||
#define DELAY_DSP 8
|
||||
#define REVERB_DSP 9
|
||||
|
||||
// DSP Family (used for direct parm set) - Effectively DSP - 3
|
||||
#define STOMP_FAM 3
|
||||
#define MOD_FAM 4
|
||||
#define DELAY_FAM 5
|
||||
#define REVERB_FAM 6
|
||||
|
||||
// Reverb model id values
|
||||
#define SM_HALL_ID 0x0024
|
||||
#define LG_HALL_ID 0x003a
|
||||
#define SM_ROOM_ID 0x0026
|
||||
#define LG_ROOM_ID 0x003b
|
||||
#define SM_PLATE_ID 0x004e
|
||||
#define LG_PLATE_ID 0x004b
|
||||
#define AMBIENT_ID 0x004c
|
||||
#define ARENA_ID 0x004d
|
||||
#define SPRING_63_ID 0x0021
|
||||
#define SPRING_65_ID 0x000b
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue