After commit c018f5fd29 Fenrir is being switched over to go. If you do not want to be part of the testing process, please switch to master.

This commit is contained in:
Storm Dragon committed 2026-10-27 20:30:55 -04:00
1 parent c018f5fd29
commit 0e50de4c76
1047 files changed
+58364 -63747

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
// Copyright (c) 2026 Storm Dragon
// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef FENRIR_SPEECH_HARDWARE_H
#define FENRIR_SPEECH_HARDWARE_H
#include <stddef.h>
typedef struct SpeechSerial SpeechSerial;
SpeechSerial *speech_serial_open(const char *path, int baud, int xon, int *status);
int speech_serial_write(SpeechSerial *port, const void *data, size_t length);
int speech_serial_cancel(SpeechSerial *port, unsigned char command);
void speech_serial_close(SpeechSerial *port);
typedef struct SpeechUSB SpeechUSB;
int speech_usb_available(void);
SpeechUSB *speech_usb_open(int *status);
int speech_usb_write(SpeechUSB *port, unsigned char endpoint, void *data, int length);
void speech_usb_close(SpeechUSB *port);
#endif