Author Topic: BASS_WMA_EncodeWrite() and 32bit sample data?  (Read 2803 times)

3delite

  • Posts: 895
I'm about to use WMA encoding with broadcasting in a DSP callback. Is there support for 32bit sample data or I must convert it to 16 bit before passing it to BASS_WMA_EncodeWrite()? I checked the docs but didn't found a topic about this.

Any thoughts about the subject would be nice too! :)

Ian @ un4seen

  • Administrator
  • Posts: 20389
Re:BASS_WMA_EncodeWrite() and 32bit sample data?
« Reply #1 on: 15 Jul '04 - 14:07 »
BASSWMA only supports encoding in 16-bit, so you'll have to convert the sample data before feeding it to the encoder (eg. multiply by 32768 and clip).

3delite

  • Posts: 895
Re:BASS_WMA_EncodeWrite() and 32bit sample data?
« Reply #2 on: 15 Jul '04 - 18:41 »
Thanks it works perfect now except for one thing: at 48KHz and 192kbit/s the programs locks up when I connect to it.
On the other hand very cool indeed! :)