Author Topic: Play DTS, DTSHD, DTSWAV  (Read 229 times)

Ed1966

  • Posts: 218
Play DTS, DTSHD, DTSWAV
« on: 3 Oct '22 - 11:00 »
Hi there,  ;)

Is there any possibility to play DTS, DTSHD, DTSWAV codec?
I see a link to an external site: aidan-g /BASS_DTS but I suspect this is for CNET. I'm looking for something for delphi myself. Is there maybe a precompiled DLL for Delphi?
Or does such a thing not exist yet? What can I do?
Or must i simply use another add-on that I missed?

Regards,
Eduard.

Ian @ un4seen

  • Administrator
  • Posts: 24684
Re: Play DTS, DTSHD, DTSWAV
« Reply #1 on: 3 Oct '22 - 17:50 »
It should be possible to use aidan-g's BASS_DTS add-on outside of .Net (eg. in Delphi), but it looks like there are no prebuilt DLLs provided, so you would need to build it yourself with Visual Studio. You can get that for free from here:

   https://visualstudio.microsoft.com/downloads/

You would open the BASS_DTS.sln file with that.

Ed1966

  • Posts: 218
Re: Play DTS, DTSHD, DTSWAV
« Reply #2 on: 4 Oct '22 - 08:02 »
Thank you Ian.

I install Virtual studio 2022 but i can't build without errors.
I try older versions like 2017 and 2019 (2013 doesn't work)
With the last version 2022  i install XP platform toolkit addon but is deprecated.
I use windows 10.

Severity   Code   Description   Project   File   Line   Suppression State
Error   MSB8020   The build tools for Visual Studio 2013 - Windows XP (Platform Toolset = 'v120_xp') cannot be found. To build using the v120_xp build tools, please install Visual Studio 2013 - Windows XP build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution".   libdcadec   C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets   460   
Error   CS0006   Metadata file 'E:\BASS_DTS-master\distribution\net461\ManagedBass.Dts.dll' could not be found   ManagedBass.Dts.Test (net40)   E:\BASS_DTS-master\ManagedBass.Dts.Test\CSC   1   Active
Error   CS0006   Metadata file 'E:\BASS_DTS-master\distribution\net40\ManagedBass.Dts.dll' could not be found   ManagedBass.Dts.Test (net40)   E:\BASS_DTS-master\ManagedBass.Dts.Test\CSC   1   Active
Error   MSB8020   The build tools for Visual Studio 2013 - Windows XP (Platform Toolset = 'v120_xp') cannot be found. To build using the v120_xp build tools, please install Visual Studio 2013 - Windows XP build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution".   bass_dts   C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets   460   
Error   MSB3030   Could not copy the file "E:\BASS_DTS-master\lib\x86\bass_dts.dll" because it was not found.   ManagedBass.Dts   C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets   5097   
Error   MSB3030   Could not copy the file "E:\BASS_DTS-master\lib\x64\bass_dts.dll" because it was not found.   ManagedBass.Dts   C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets   5097   
Error   MSB3030   Could not copy the file "E:\BASS_DTS-master\lib\x86\bass_dts.dll" because it was not found.   ManagedBass.Dts   C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets   5097   
Error   MSB3030   Could not copy the file "E:\BASS_DTS-master\lib\x64\bass_dts.dll" because it was not found.   ManagedBass.Dts   C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets   5097   

Any help what to do?
I need the x86 version.

If it's out of the Bass help it's fine then I wait for official releases if coming  :D

Regards,
Eduard.

Ed1966

  • Posts: 218
Re: Play DTS, DTSHD, DTSWAV
« Reply #3 on: 6 Oct '22 - 12:35 »
I don't think it will be in terms of build because it doesn't work without extra additions.
Some LIBS are not included at the source of aidan-g /BASS_DTS. No problem, but I just wanted to point it out. I think it's deprecated.
Furthermore, maybe DTS for BASS is not really important. I wanted to do it because it offers an extra playback option.
I stop testing and will thank you. :-)
If you get it working please send me de DLL I love it  :)

Ian @ un4seen

  • Administrator
  • Posts: 24684
Re: Play DTS, DTSHD, DTSWAV
« Reply #4 on: 6 Oct '22 - 15:59 »
I found prebuilt DLLs in the "ManagedBass.Dts" package here:

   https://www.nuget.org/packages/ManagedBass.Dts/

You can open the nupkg file in ZIP software and extract the DLLs from the "build" folder inside it.

Ed1966

  • Posts: 218
Re: Play DTS, DTSHD, DTSWAV
« Reply #5 on: 7 Oct '22 - 05:48 »
Thanks Ian.  :)

I'm going to check and test everything this weekend.

I notify you next week.