20 May '13 - 02:14
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Un4seen Developments Forum
>
Developments
>
BASS
> Topic:
16 bit vs 24 bits flac files
Pages: [
1
]
« previous
|
next »
Reply
|
Print
Author
Topic: 16 bit vs 24 bits flac files (Read 501 times)
pwatel
Posts: 48
16 bit vs 24 bits flac files
«
on:
26 Feb '12 - 06:37 »
Quote
Hello
Even if the bass lib is initialized as shown on the help file
Example:
Initialize BASS to use the default output device, and a nominal format of 44100hz stereo 16-bit.
BASS_Init(-1, 44100, 0, hwnd, NULL);
But if a file with higher sample rate comes along, it is played at the right frequency like it updates it self from 44100 to a higher value.
My question is about the bit depth if the file is 24bit / 96000Khz is the bit depth updated automatically as well from 16 to 24 or it is taken at 16.
Forget my ignorance on the internal of Bass audio. it plays but I have to way to check at which bit depth the frequency yes it is shown on the DAC
Thank you
Logged
Ian @ un4seen
Administrator
Posts: 15244
Re: 16 bit vs 24 bits flac files
«
Reply #1 on:
27 Feb '12 - 16:56 »
Quote
By default, the file would be decoded/played in 16-bit. To retain the full 24-bit quality, you would need to use the BASS_SAMPLE_FLOAT flag in the BASS_StreamCreateFile call, and that will then be converted to what the device uses during playback.
Logged
pwatel
Posts: 48
Re: 16 bit vs 24 bits flac files
«
Reply #2 on:
28 Feb '12 - 05:04 »
Quote
Thank you Ian
any similar flags that should be set if one plays via
WASAPI
and
ASIO
regards
PW
Logged
Ian @ un4seen
Administrator
Posts: 15244
Re: 16 bit vs 24 bits flac files
«
Reply #3 on:
28 Feb '12 - 14:59 »
Quote
It is pretty much the same process then too. You would use the BASS_SAMPLE_FLOAT flag in the BASS_StreamCreateFile call, and BASSASIO/WASAPI will convert the floating-point data to the device's format. In the case of ASIO, you would use BASS_ASIO_ChannelSetFormat (with BASS_ASIO_FORMAT_FLOAT) to tell BASSASIO that you will be providing floating-point data. BASSWASAPI always expects floating-point data, so nothing more is needed there.
Logged
Pages: [
1
]
Reply
|
Print
Un4seen Developments Forum
>
Developments
>
BASS
> Topic:
16 bit vs 24 bits flac files
« previous
|
next »
Jump to:
Please select a destination:
-----------------------------
Developments
-----------------------------
=> BASS
=> XMPlay
=> MO3
-----------------------------
Off Topic
-----------------------------
=> General Discussion
Loading...