Author Topic: Any way to find out if WavPack contains DSD audio?  (Read 181 times)

Xire

  • Posts: 274
Hi Ian,

Is there any way to find out if WavPack contains DSD audio, like with BASS_ChannelGetInfo ?

Xire

Ian @ un4seen

  • Administrator
  • Posts: 20437
Re: Any way to find out if WavPack contains DSD audio?
« Reply #1 on: 26 Oct '17 - 14:13 »
You can detect DSD data by trying to get one of the DSD attributes, eg. BASS_ATTRIB_DSD_RATE.

Code: [Select]
float dsdrate;
bool isdsd = BASS_ChannelGetAttribute(handle, BASS_ATTRIB_DSD_RATE, &dsdrate);

Xire

  • Posts: 274
Re: Any way to find out if WavPack contains DSD audio?
« Reply #2 on: 27 Oct '17 - 16:31 »
Thanks :)