From c1cb78d574c0429aa5e3ff3a2b3886e4bc153212 Mon Sep 17 00:00:00 2001 From: bbergeron Date: Wed, 3 Apr 2024 17:32:01 -0400 Subject: Reset Git repo and use a pseudonym to sign commits I used to sign my commits with my real name and my personal email address, which I wanted scrubbed off the "B." pseudosphere. Re-creating a new git repository was safer than simpler than re-writing the history (although the latter could've also worked but, oh well). --- audio/stream.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 audio/stream.h (limited to 'audio/stream.h') diff --git a/audio/stream.h b/audio/stream.h new file mode 100644 index 0000000..94c5162 --- /dev/null +++ b/audio/stream.h @@ -0,0 +1,14 @@ +#ifndef AUDIO_STREAM_H +#define AUDIO_STREAM_H + +#include + +struct Stream { + AVFormatContext *s; + AVStream *av_stream; +}; + +int stream_init (struct Stream *stream, AVFormatContext *s, int codec_id, int sample_rate, int format, const AVChannelLayout *layout, AVDictionary **opts); +int stream_send (struct Stream *stream, AVPacket *pkt); + +#endif // AUDIO_STREAM_H -- cgit v1.2.3