Skip to content

Commit 24ad35f

Browse files
committed
Remove unused swr functions
1 parent eaa675d commit 24ad35f

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed
Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,4 @@
1-
from libc.stdint cimport int64_t, uint8_t
2-
3-
41
cdef extern from "libswresample/swresample.h" nogil:
5-
62
cdef int swresample_version()
73
cdef char* swresample_configuration()
84
cdef char* swresample_license()
9-
10-
cdef struct SwrContext:
11-
pass
12-
13-
cdef SwrContext* swr_alloc_set_opts(
14-
SwrContext *ctx,
15-
int64_t out_ch_layout,
16-
AVSampleFormat out_sample_fmt,
17-
int out_sample_rate,
18-
int64_t in_ch_layout,
19-
AVSampleFormat in_sample_fmt,
20-
int in_sample_rate,
21-
int log_offset,
22-
void *log_ctx # logging context, can be NULL
23-
)
24-
25-
cdef int swr_convert(
26-
SwrContext *ctx,
27-
uint8_t ** out_buffer,
28-
int out_count,
29-
uint8_t **in_buffer,
30-
int in_count
31-
)
32-
# Gets the delay the next input sample will
33-
# experience relative to the next output sample.
34-
cdef int64_t swr_get_delay(SwrContext *s, int64_t base)
35-
36-
cdef SwrContext* swr_alloc()
37-
cdef int swr_init(SwrContext* ctx)
38-
cdef void swr_free(SwrContext **ctx)
39-
cdef void swr_close(SwrContext *ctx)

0 commit comments

Comments
 (0)