unity-wrapper-vorbis icon indicating copy to clipboard operation
unity-wrapper-vorbis copied to clipboard

Why is 16k frequency not supported

Open Prinfoxce opened this issue 1 year ago • 2 comments

I want to use a 16k frequency for recording, but this library restricts the frequency between 44100 and 192000. Otherwise, it returns ERROR_INVALID_FREQUENCY_PARAMETER. Why is this, and can 16k be supported?

Prinfoxce avatar Nov 20 '24 08:11 Prinfoxce

Hello! Thanks for your interest in the plugin. I just changed the minimal frequency parameter check from 44k to 8k. Can you please download the binary files below and put those into your Unity Assets folder where the VorbisPlugin is located. Please let me know if it works for you.

VorbisPluginLinuxArtifacts.zip VorbisPluginWindowsArtifacts.zip VorbisPluginMacOSArtifacts (1).zip VorbisPluginIOSArtifacts (2).zip

gindemit avatar Nov 24 '24 20:11 gindemit

Thank you! This solved my problem, and I was able to test it with the 16k frequency working fine. Also, will you be releasing a new version on the release page? I noticed that not all Android ABIs are included in the LinuxArtifacts, such as armeabi-v7a.

Prinfoxce avatar Nov 25 '24 07:11 Prinfoxce

Hi @gindemit is that possible to having the plugin update with this change for Unity Android ? Thank you.

tagleweb avatar May 20 '25 11:05 tagleweb