mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-02-06 08:37:59 +08:00
ggwave : update comments with proper ggwave_decode example
This commit is contained in:
@@ -263,6 +263,7 @@ extern "C" {
|
||||
//
|
||||
// int ret = ggwave_decode(instance, waveform, samplesPerFrame*sizeOfSample_bytes, payload);
|
||||
// if (ret > 0) {
|
||||
// payload[ret] = 0; // null terminate the string
|
||||
// printf("Received payload: '%s'\n", payload);
|
||||
// }
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user