diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2022-11-17 20:19:43 +0100 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2022-11-17 20:19:43 +0100 |
| commit | 397eac5ac43d1b0335dc1a377cfe1c4a8818cd5e (patch) | |
| tree | 28b844b2dbd478a6bb6ee94854f20ff70d8c21b4 /sounddevice_build.py | |
| parent | 841e0a1b2ea2367476248e5f0fc6878154949417 (diff) | |
Redirect stderr with os.dup2() instead of CFFI calls
Diffstat (limited to 'sounddevice_build.py')
| -rw-r--r-- | sounddevice_build.py | 8 |
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) |
