TeamPyOgg / PyOgg

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

fix OggOpusWriter writes incorrect sample rate in an ogg header #106

Open crazyguitar opened 1 year ago

crazyguitar commented 1 year ago

Hi,

I noticed that the function OggOpusWriter._make_identification_header consistently utilizes the default input sampling rate, which could potentially result in decoding errors for certain applications such as the Google Cloud Speech API.