aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/3rdparty/wav/wav.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-11-16 00:24:51 +0800
committerchai <chaifix@163.com>2018-11-16 00:24:51 +0800
commit831e814ce9bdb84e86c06c4a52008f6bdaaa00d6 (patch)
treef91fccc7d2628d6e0a39886134b2bb174f5eede4 /src/libjin/3rdparty/wav/wav.h
parent6dc75930fe5fe02f1af5489917752d315cf9e48f (diff)
*合并master到minimal分支
Diffstat (limited to 'src/libjin/3rdparty/wav/wav.h')
-rw-r--r--src/libjin/3rdparty/wav/wav.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/libjin/3rdparty/wav/wav.h b/src/libjin/3rdparty/wav/wav.h
deleted file mode 100644
index c12cd5d..0000000
--- a/src/libjin/3rdparty/wav/wav.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
-* Copyright (c) 2018 chai
-*
-* This library is free software; you can redistribute it and/or modify it
-* under the terms of the MIT license. See LICENSE for details.
-*/
-
-#ifndef WAV_H
-#define WAV_H
-
-#include <stdlib.h>
-#include <stdint.h>
-
-typedef struct {
- const void *data;
- int bitdepth;
- int samplerate;
- int channels;
- size_t length;
-} wav_t;
-
-enum {
- WAV_ESUCCESS = 0,
- WAV_EFAILURE = -1,
- WAV_EBADHEADER = -2,
- WAV_EBADFMT = -3,
- WAV_ENOFMT = -4,
- WAV_ENODATA = -5,
- WAV_ENOSUPPORT = -6
-};
-
-int wav_read(wav_t *w, const void *data, size_t len);
-const char *wav_strerror(int err);
-
-#endif \ No newline at end of file