-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
slight cleanup / reformat / refactor
- Loading branch information
Showing
25 changed files
with
4,518 additions
and
4,336 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
Bonzomatic | ||
.obj | ||
.aps | ||
tmp | ||
build | ||
build.* | ||
|
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 |
---|---|---|
@@ -1,7 +1,11 @@ | ||
namespace Capture | ||
{ | ||
void LoadSettings(jsonxx::Object & o); | ||
bool Open(RENDERER_SETTINGS & settings); | ||
void CaptureFrame(); | ||
void Close(); | ||
////////////////////////////////////////////////////////////////////////// | ||
|
||
void LoadSettings( jsonxx::Object & o ); | ||
bool Open( Renderer::Settings & settings ); | ||
void CaptureFrame(); | ||
void Close(); | ||
|
||
////////////////////////////////////////////////////////////////////////// | ||
} |
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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
namespace Clipboard | ||
{ | ||
void Copy( const char * data, int len ); | ||
int GetContentsLength(); | ||
void GetContents( char * data, int len ); | ||
////////////////////////////////////////////////////////////////////////// | ||
|
||
void Copy( const char * data, int len ); | ||
int GetContentsLength(); | ||
void GetContents( char * data, int len ); | ||
|
||
////////////////////////////////////////////////////////////////////////// | ||
} |
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 |
---|---|---|
@@ -1,22 +1,26 @@ | ||
#define FFT_SIZE 1024 | ||
|
||
typedef struct | ||
namespace FFT | ||
{ | ||
////////////////////////////////////////////////////////////////////////// | ||
|
||
struct Settings | ||
{ | ||
bool bUseRecordingDevice; | ||
void * pDeviceID; | ||
} FFT_SETTINGS; | ||
}; | ||
|
||
namespace FFT | ||
{ | ||
typedef void (*FFT_ENUMERATE_FUNC)( const bool bIsCaptureDevice, const char * szDeviceName, void * pDeviceID, void * pUserContext ); | ||
typedef void ( *FFT_ENUMERATE_FUNC )( const bool bIsCaptureDevice, const char * szDeviceName, void * pDeviceID, void * pUserContext ); | ||
|
||
extern float fAmplification; | ||
|
||
extern float fAmplification; | ||
void EnumerateDevices( FFT_ENUMERATE_FUNC pEnumerationFunction, void * pUserContext ); | ||
|
||
void EnumerateDevices( FFT_ENUMERATE_FUNC pEnumerationFunction, void * pUserContext ); | ||
bool Create(); | ||
bool Destroy(); | ||
bool Open( Settings * pSettings ); | ||
bool GetFFT( float * _samples ); | ||
void Close(); | ||
|
||
bool Create(); | ||
bool Destroy(); | ||
bool Open( FFT_SETTINGS * pSettings ); | ||
bool GetFFT( float * _samples ); | ||
void Close(); | ||
////////////////////////////////////////////////////////////////////////// | ||
} |
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 |
---|---|---|
@@ -1,18 +1,22 @@ | ||
namespace MIDI | ||
{ | ||
enum | ||
{ | ||
MIDIMSG_NOTE_OFF = 8, | ||
MIDIMSG_NOTE_ON = 9, | ||
MIDIMSG_POLYPHONIC_KEY = 10, | ||
MIDIMSG_CONTROL_CHANGE = 11, | ||
MIDIMSG_PROGRAM_CHANGE = 12, | ||
MIDIMSG_CHANNEL_PRESSURE = 13, | ||
MIDIMSG_PITCH_BEND = 14, | ||
MIDIMSG_SYSTEM = 15, | ||
} MIDI_MESSAGE_TYPE; | ||
////////////////////////////////////////////////////////////////////////// | ||
|
||
bool Open(); | ||
bool Close(); | ||
float GetCCValue( unsigned char cc ); | ||
enum | ||
{ | ||
MIDIMSG_NOTE_OFF = 8, | ||
MIDIMSG_NOTE_ON = 9, | ||
MIDIMSG_POLYPHONIC_KEY = 10, | ||
MIDIMSG_CONTROL_CHANGE = 11, | ||
MIDIMSG_PROGRAM_CHANGE = 12, | ||
MIDIMSG_CHANNEL_PRESSURE = 13, | ||
MIDIMSG_PITCH_BEND = 14, | ||
MIDIMSG_SYSTEM = 15, | ||
} MIDI_MESSAGE_TYPE; | ||
|
||
bool Open(); | ||
bool Close(); | ||
float GetCCValue( unsigned char cc ); | ||
|
||
////////////////////////////////////////////////////////////////////////// | ||
}; |
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
Oops, something went wrong.