summaryrefslogtreecommitdiff
path: root/sounddevice_build.py
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2022-11-17 20:19:43 +0100
committerMatthias Geier <Matthias.Geier@gmail.com>2022-11-17 20:19:43 +0100
commit397eac5ac43d1b0335dc1a377cfe1c4a8818cd5e (patch)
tree28b844b2dbd478a6bb6ee94854f20ff70d8c21b4 /sounddevice_build.py
parent841e0a1b2ea2367476248e5f0fc6878154949417 (diff)
Redirect stderr with os.dup2() instead of CFFI calls
Diffstat (limited to 'sounddevice_build.py')
-rw-r--r--sounddevice_build.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/sounddevice_build.py b/sounddevice_build.py
index 70ecbd8..7befb06 100644
--- a/sounddevice_build.py
+++ b/sounddevice_build.py
@@ -311,13 +311,5 @@ typedef struct PaWasapiStreamInfo
int PaWasapi_IsLoopback( PaDeviceIndex device );
""")
-ffibuilder.cdef("""
- /* from stdio.h */
- FILE* fopen(const char* path, const char* mode);
- int fclose(FILE* fp);
- extern FILE* stderr; /* GNU C library */
- extern FILE* __stderrp; /* macOS */
-""")
-
if __name__ == '__main__':
ffibuilder.compile(verbose=True)