discordjs / opus

Native opus bindings for node
MIT License
188 stars 53 forks source link

Add JSDoc to decode method #136

Closed Kirdock closed 4 months ago

Kirdock commented 1 year ago

Is your feature request related to a problem? Please describe. Yes and no. The problem was that I didn't know which format is returned after calling OpusEncoder.decode(...).

Describe the ideal solution Add to the JSDoc of the decode method that it returns PCM s16le (PCM signed 16-bit little endian)

kyranet commented 1 year ago

Can you open a PR doing the mentioned changes? Or do you prefer somebody else to do this instead?