mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-04-20 13:16:31 +08:00
Initial commit
This commit is contained in:
14
examples/ggwave-common-sdl2.h
Normal file
14
examples/ggwave-common-sdl2.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <SDL.h>
|
||||
|
||||
class GGWave;
|
||||
|
||||
bool initSDL2ForGGWave(
|
||||
bool & isInitialized,
|
||||
const int playbackId,
|
||||
SDL_AudioDeviceID & devIdIn,
|
||||
const int captureId,
|
||||
SDL_AudioDeviceID & devIdOut,
|
||||
GGWave *& ggWave,
|
||||
const char * defaultCaptureDeviceName = nullptr);
|
||||
Reference in New Issue
Block a user