summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasile Vilvoiu <vasi@vilvoiu.ro>2023-08-27 17:51:56 +0300
committerVasile Vilvoiu <vasi@vilvoiu.ro>2023-08-27 17:51:56 +0300
commit01127ce30ee17bdb97fa18342e3f7da95e4dc309 (patch)
treeea76287453d11eeb4891cd0b12ee11074f664106
parent6f11c0866071b94c503d62d3be4162909eeb268b (diff)
Typo in one of the README examples.
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5ab159e..cb6e5d2 100644
--- a/README.md
+++ b/README.md
@@ -147,7 +147,7 @@ Pixel format conversions can be performed in-place on an image by calling `sstv_
Signals (`sstv_signal_t`) are objects that hold a chunk of the raw audio. They can only be created on a preallocated buffer:
```
-uint8_t signal_buffer[SIGNAL_BUFFER_CAPACITY];
+int16_t signal_buffer[SIGNAL_BUFFER_CAPACITY];
sstv_signal_t signal;
if (sstv_pack_signal(&signal, SSTV_SAMPLE_INT16, SIGNAL_BUFFER_CAPACITY, signal_buffer) != SSTV_OK) {
... error handling ...