Author Topic: BASS_WMA_EncodeOpenFile() question  (Read 2174 times)

3delite

  • Posts: 895
BASS_WMA_EncodeOpenFile() question
« on: 7 Dec '08 - 03:44 »
Hi!

I have a question regarding BASS_WMA_EncodeOpenFile().
How does it know when to encode using VBR or constant bit rate?
In the example (in the docs) it says:

Code: [Select]
Initialize encoding 44100hz 16-bit stereo sample data at 128kb/s to a file called "blah.wma".

HWMENCODE encoder=BASS_WMA_EncodeOpenFile(44100, 2, 0, 128000, "blah.wma");

So when the bitrate param is not 128000 but 100 then it knows to use VBR encoding automatically?

Regards
3delite
« Last Edit: 7 Dec '08 - 04:09 by 3delite »

Ian @ un4seen

  • Administrator
  • Posts: 20393
Re: BASS_WMA_EncodeOpenFile() question
« Reply #1 on: 8 Dec '08 - 17:29 »
Yep, 100 and below are VBR quality settings (100 being lossless). Anything above is considered a constant bitrate.

3delite

  • Posts: 895
Re: BASS_WMA_EncodeOpenFile() question
« Reply #2 on: 8 Dec '08 - 17:39 »
Thanx for the info!

Regards
3delite