mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-02-24 16:16:10 +08:00
* ggwave : add support for fixed length transmissions * spectrogram : add sample rate offset for debugging purposes * gwave : fix decoding bug * waver : wip * wip * remove post-marker frames * add resampler * ggwave : input/output resampling * ggwave : fix python build * ggwave : update spm * ggwave : refactor duplicate encode/decode code * ggwave : fix sound marker detection * waver : fix typo * ggwave : fix uninitialized members * ggwave : more sensitive receive
14 lines
323 B
C++
14 lines
323 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();
|