TeamPyOgg / PyOgg

Simple OGG Vorbis, Opus and FLAC bindings for Python
The Unlicense
63 stars 27 forks source link

Why `bytes_per_sample` for opus file is restricted to 16 bits? #95

Open kresle opened 2 years ago

kresle commented 2 years ago

In opus_file.py, line 45, self.bytes_per_sample = ctypes.sizeof(opus.opus_int16).

How would this work for 24bit or 32bit opus files?