mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-03-07 07:29:33 +08:00
* waver : change default protocol * waver : global scale to 1.25 * waver : more colors * waver : resend last message * waver : bigger send button * waver : start with fixed-length enabled * waver : fix spectrum display for fixed-length mode * waver : add option to control input sample rate offset * ggwave : improve fixed-length decoding * examples-common : SDL now captures 1024 samples instead of 4096 * waver : spectrum improvements + spectrogram mode * minor changes * ggwave : add FFT static method * waver : realtime spectrum display * waver : fix dragging behavior * waver : show current tx protocol in "Messages" * waver : show frequency range and bandwidth of selected protocol * waver : change sample rate offset function output instead of input * waver : add info about local peers * waver : add option to pause spectrum by clicking it * waver : minor * waver : add option descriptions * waver : fix data races * waver : purple-ish background * waver : cian-ish background * waver : add option button to cancel receiving * waver : add option to select Rx Protocols * waver : change default protocol * waver : fix displayed protocol for each message
14 lines
324 B
C++
14 lines
324 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
class GGWave;
|
|
|
|
// GGWave helpers
|
|
|
|
void GGWave_setDefaultCaptureDeviceName(std::string name);
|
|
bool GGWave_init(const int playbackId, const int captureId, const int payloadLength = -1, const int sampleRateOffset = 0);
|
|
GGWave *& GGWave_instance();
|
|
bool GGWave_mainLoop();
|
|
bool GGWave_deinit();
|