Author Topic: BASS for WinCE  (Read 238056 times)

alex208210

  • Posts: 10
Re: BASS for WinCE
« Reply #300 on: 7 May '16 - 15:55 »
hello, it is possible to collect BASSALAC wince?

Ian @ un4seen

  • Administrator
  • Posts: 20437
Re: BASS for WinCE
« Reply #301 on: 9 May '16 - 18:15 »
Yes, a WinCE version of the BASSALAC add-on has now been added to the package in the 1st post.

alex208210

  • Posts: 10
Re: BASS for WinCE
« Reply #302 on: 9 May '16 - 21:14 »
Thank you. Addon BASSALAC works correctly.

SiRFatlasV

  • Posts: 1
Re: BASS for WinCE
« Reply #303 on: 2 Apr '17 - 19:38 »
Hello,

What about musepack? Is it possible?

Ian @ un4seen

  • Administrator
  • Posts: 20437
Re: BASS for WinCE
« Reply #304 on: 3 Apr '17 - 15:18 »
A WinCE version of the BASS_MPC add-on has been added to the 1st post. The WinCE version of the BASSMIDI 2.4.11 release is also now up in the 1st post.

alex208210

  • Posts: 10
Re: BASS for WinCE
« Reply #305 on: 3 Apr '17 - 21:53 »
Hey. Bass_mpc does not work.
For windows 8 it works correctly.

Ian @ un4seen

  • Administrator
  • Posts: 20437
Re: BASS for WinCE
« Reply #306 on: 4 Apr '17 - 17:29 »
Please upload the MPC file that you are having the problem with to have a look at here:

   ftp.un4seen.com/incoming/

Ian @ un4seen

  • Administrator
  • Posts: 20437
Re: BASS for WinCE
« Reply #307 on: 5 Apr '17 - 14:35 »
Your test MPC file was received. I tried playing it with the pre-compiled PLUGINS.EXE example from the WinCE BASS package, and it played fine. If you try that there, do you get the problem with it? If not, perhaps FreePascal (it looks like that is what you're using?) is doing something to trigger it. I'm not a Pascal/Delphi user myself, but I know it enables floating-point exceptions by default on Windows, and they can be disabled like this:

Code: [Select]
SetExceptionMask(GetExceptionMask+[exInvalidOp,exZeroDivide]);

Perhaps it's a similar story on Windows CE?

alex208210

  • Posts: 10
Re: BASS for WinCE
« Reply #308 on: 5 Apr '17 - 15:21 »
Yes i use freepascal. Other plugins, such as flac or alac, do not cause a compiler error.

The test compiled plugins.exe also plays for me. Can you have the opportunity to ask Chris Troesken to adapt C++ the code in pascal for plugins.c from the wince version?

Ian @ un4seen

  • Administrator
  • Posts: 20437
Re: BASS for WinCE
« Reply #309 on: 5 Apr '17 - 16:01 »
Please upload your EXE (compiled with FreePascal) to try here:

   ftp.un4seen.com/incoming/

Ian @ un4seen

  • Administrator
  • Posts: 20437
Re: BASS for WinCE
« Reply #310 on: 6 Apr '17 - 16:42 »
Your EXE was received. I was able to reproduce the problem with that, and tracked it down to an MPC decoder initialization function in which a floating-point number was being converted to a 32-bit integer but was too big to fit. A BASS_MPC update is up in the 1st post now.

alex208210

  • Posts: 10
Re: BASS for WinCE
« Reply #311 on: 6 Apr '17 - 17:03 »
Yes, the problem is fixed! Thank you!

Maksim V.

  • Posts: 2
Re: BASS for WinCE
« Reply #312 on: 7 Nov '17 - 05:10 »
Hi. Library tags.dll crashed on WinCE. On big Windows all is ok.

Code: [Select]
function GetTrackTags(const stream: HSTREAM; fmt: LPCSTR): WideString;
var
  tags: LPCSTR;
begin
  Result := '';
  if TagsLoad then
  begin
    tags := TAGS_Read(stream, fmt);// <---error
    //code
  end;
end;

Handle stream is exsist. DLL tags.dll is loaded and function TAGS_Read get from GetProcAddressW is ok. Whats wrong?
p.s. TAGS_GetVersion worked without error.

Prototype
Code: [Select]
T
AGS_Read: function(handle: HSTREAM; const fmt: LPCSTR): LPCSTR; stdcall;
Load
Code: [Select]
@TAGS_Read := GetProcAddressW(TAGS_Handle, LPWSTR('TAGS_Read'));

Ian @ un4seen

  • Administrator
  • Posts: 20437
Re: BASS for WinCE
« Reply #313 on: 7 Nov '17 - 14:50 »
It looks like there is a potential memory alignment issue in the TAGS add-on's ID3v2 tag processing. That won't be a problem on most platforms, but it is on WinCE. I've put an update up in the 1st post. If you still have the problem with that, please upload an affected file to have a look at here:

   ftp.un4seen.com/incoming/

Maksim V.

  • Posts: 2
Re: BASS for WinCE
« Reply #314 on: 7 Nov '17 - 19:00 »
Thank you, new dll correctly works! I have one question. Why is the bass.dll for WinCE so looong to loading (start my program) on the emulator then real device. You can speed up the boot process? Its problems of emulator or features loading in memory?

Ian @ un4seen

  • Administrator
  • Posts: 20437
Re: BASS for WinCE
« Reply #315 on: 8 Nov '17 - 14:37 »
If your program is slow to start on the emulator but not on a real device, then that sounds like an emulator issue. It's the same code running in both cases.