refactor example + adding imgui and imtui submodules

This commit is contained in:
Georgi Gerganov
2020-11-29 17:45:20 +02:00
parent ba1742d733
commit 0bbb11fffb
19 changed files with 1839 additions and 305 deletions

View File

@@ -2,13 +2,17 @@
#include <SDL.h>
#include <string>
class GGWave;
bool initSDL2ForGGWave(
bool & isInitialized,
const int playbackId,
SDL_AudioDeviceID & devIdIn,
const int captureId,
SDL_AudioDeviceID & devIdOut,
GGWave *& ggWave,
const char * defaultCaptureDeviceName = nullptr);
// GGWave helpers
void GGWave_setDefaultCaptureDeviceName(std::string name);
bool GGWave_init(const int playbackId, const int captureId);
GGWave * GGWave_instance();
bool GGWave_mainLoop();
bool GGWave_deinit();
// ImGui helpers