Skip to content

Commit

Permalink
docs: add some docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Linkid committed Mar 25, 2022
1 parent d600c1c commit 1d6a82c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mixstream/_MixStream.pyx
Expand Up @@ -70,6 +70,11 @@ cdef class VorbisFileMixStream(object):
cdef CMixStream* stream

def __cinit__(self, char* filename):
"""
Initialize the VorbisFile MixStream
:param filename: vorbis file to open
"""
cdef GError* err = NULL
self.stream = mix_stream_new_vorbisfile(filename, &err)
if self.stream is NULL:
Expand Down

0 comments on commit 1d6a82c

Please sign in to comment.