Author Topic: BASS for WinCE  (Read 372179 times)

Ian @ un4seen

  • Administrator
  • Posts: 26083
BASS for WinCE
« on: 2 Mar '09 - 16:46 »


WinCE is no longer supported, but the last releases for it are still available below.






WinCE versions of BASS and the BASSALAC/FLAC/MIDI/OPUS/WV/enc add-ons are available here:

   www.un4seen.com/files/bass24-ce.zip (updated: 10 May '22)

These add-ons are also available:

   www.un4seen.com/stuff/bass_aac-ce.zip   (note: the EXE's stack size may need to be raised from the default 65536)
   www.un4seen.com/stuff/bass_mpc-ce.zip
   www.un4seen.com/stuff/tags-ce.zip
   www.un4seen.com/files/z/0/bass_fx24-ce.zip

CE 4.2 and above should be supported, but note that this package is for use with ARM CPUs only. Support for other CPUs is also available on request.

Most of the standard BASS examples have been ported and are included, but there are a few still to be done (those that require some work to fit on the screen!).

All of the main BASS features should be supported, but there are some differences to note...

As the WinCE APIs exclusively use Unicode strings, some of the BASS structures have been changed accordingly for convenience (see BASS.H).

CE devices generally have poor floating-point performance due to the lack of an FPU, so floating-point channels aren't supported (BASS_SAMPLE_FLOAT will result in BASS_ERROR_FORMAT). The BASS_CONFIG_FLOATDSP option is still available, but it will give 8.24 fixed-point data instead (see the DSPTEST example).

As in the Linux version, a config option (BASS_CONFIG_DEV_BUFFER) has been added to set the device buffer size (in milliseconds). That currently defaults to a fairly conservative 200ms, but you could try playing with it (note that must be done before BASS_Init) to see how low you can go without causing breaks in the output.

Support for use with .Net is included in the BASS.Net package.

Please report your findings!
« Last Edit: 12 Oct '22 - 16:43 by Ian @ un4seen »

radio42

  • Posts: 4839
Re: BASS for WinCE
« Reply #1 on: 2 Mar '09 - 17:19 »
Sames goes with "BASS.NET.compact" which is 'slimmed' version of BASS.NET with supports the .Net CompactFramework 2.0 and is based upon the CE version of BASS.
Note, that currently only the BASS CE dll is supported - as there are currently no add-ons for BASS CE available.
This also means, that "BASS.NET.compact" doesn't support things like the Encoding framework, WaveForm rendering or extensive tag reading etc.

radio42

  • Posts: 4839
Re: BASS for WinCE
« Reply #2 on: 3 Mar '09 - 08:47 »
Here comes the BASS.NET CE version (for the .Net CompactFramework 2.0):
v2.4.1.3

www.un4seen.com/filez/4/Bass24.Net_compact.zip

« Last Edit: 18 Jun '10 - 11:16 by radio42 »

www.fullmm.com

  • Posts: 141
Re: BASS for WinCE
« Reply #3 on: 4 Mar '09 - 17:19 »
Hi

That's great , I will create a very cool app in next months , but wish .net compact support addons.

radio42

  • Posts: 4839
Re: BASS for WinCE
« Reply #4 on: 4 Mar '09 - 18:40 »
As state BASS.NET now supports add-ons - as BASS does ;-)
However, today there is only the FLAC add-on available for CE.
The WMA add-on (as Ian indicated) might not be possible to implement, since an SDK is missing for CE!

KixAss

  • Posts: 21
Re: BASS for WinCE
« Reply #5 on: 5 Mar '09 - 13:53 »
I'm getting an Exception on Bass.BASS_Init with VB.net: You are using an unregistered version of BASS.NET!

Does it only support registered versions?

radio42

  • Posts: 4839
Re: BASS for WinCE
« Reply #6 on: 5 Mar '09 - 14:24 »
Yes! But if you have registered BASS.NET you can use the same key for the CE version as well.
« Last Edit: 5 Mar '09 - 20:59 by radio42 »

person1069

  • Posts: 3
Simple Widows Mobile Sample
« Reply #7 on: 5 Mar '09 - 22:58 »
Can you post a super simple working version to play an MP3?
I have a Treo with Windows Mobile 6, VS.Net 2008.
When I try to play a simple song I get an error: Can't find PInvoke DLL "bass.dll"
I have the Bass.Net.comact.dll in my app folder with the .exe is there a separate bass.dll for the compact framework that I am missing?

Great product!

radio42

  • Posts: 4839
Re: BASS for WinCE
« Reply #8 on: 5 Mar '09 - 23:31 »
Yes, you need a special bass.dll build for CE from Ian!

dagpetersson

  • Posts: 5
Re: BASS for WinCE
« Reply #9 on: 6 Mar '09 - 14:25 »
Ian, could you send me your email address ?
( dag.petersson@sogeti.se )

I have developed WM devices since -99 so hopefully I can give some input....
I this case I want to test with Compact Framework.

Best Regards,
Dag Petersson

KixAss

  • Posts: 21
Re: BASS for WinCE
« Reply #10 on: 6 Mar '09 - 14:27 »
Yes! But if you have registered BASS.NET you can use the same key for the CE version as well.
I can't find the option of a personal registration anymore? Isn't this available anymore?

radio42

  • Posts: 4839
Re: BASS for WinCE
« Reply #11 on: 6 Mar '09 - 15:10 »
Just go to: http://www.bass.radio42.com/bass_register.html

And select the "Freeware" radio button on the form ;-)

KixAss

  • Posts: 21
Re: BASS for WinCE
« Reply #12 on: 6 Mar '09 - 15:35 »
Oke, found it :)

I would like the betaversion of the bass.dll for testing :)
« Last Edit: 6 Mar '09 - 15:37 by KixAss »

Ian @ un4seen

  • Administrator
  • Posts: 26083
Re: BASS for WinCE
« Reply #13 on: 6 Mar '09 - 16:44 »
When I try to play a simple song I get an error: Can't find PInvoke DLL "bass.dll"
I have the Bass.Net.comact.dll in my app folder with the .exe is there a separate bass.dll for the compact framework that I am missing?

I have emailed you the WinCE beta. dagpetersson and KixAss too.

person1069

  • Posts: 3
Re: BASS for WinCE
« Reply #14 on: 6 Mar '09 - 17:45 »
Yes, works great!  Thank you.

xinchengquan

  • Guest
Re: BASS for WinCE
« Reply #15 on: 10 Mar '09 - 05:52 »
Can you post a CE version to me?
Thank you!

radio42

  • Posts: 4839
Re: BASS for WinCE
« Reply #16 on: 12 Mar '09 - 11:09 »
Here comes a new version of the BASS.NET CE version (for the .Net CompactFramework 2.0):
www.un4seen.com/filez/4/Bass24.Net_compact.zip

Please redownload and obtain the latest CE version of BASS.DLL !!!
All issues should be sorted with this release.
Have fun...
« Last Edit: 12 Mar '09 - 17:08 by radio42 »

xinchengquan

  • Guest
Re: BASS for WinCE
« Reply #17 on: 16 Mar '09 - 00:08 »
yes,thank you very much! :P :P :P

topsuccess

  • Posts: 8
Re: BASS for WinCE
« Reply #18 on: 17 Mar '09 - 04:55 »
I've used bass.dll under win32, to write a simple music player in Delphi. it's very powerful!

But for MIDI, can BASS support "patchs" format (such as Timidity)?

I got a HP rz1715 recently, so, may I receive a copy of bass.dll for WinCE?

Ian @ un4seen

  • Administrator
  • Posts: 26083
Re: BASS for WinCE
« Reply #19 on: 17 Mar '09 - 17:41 »
I've used bass.dll under win32, to write a simple music player in Delphi. it's very powerful!

But for MIDI, can BASS support "patchs" format (such as Timidity)?

I got a HP rz1715 recently, so, may I receive a copy of bass.dll for WinCE?

Sure, but is it possible to use Delphi with WinCE?

Regarding BASSMIDI, I'm afraid there are currently no plans for it to support GUS patches.

topsuccess

  • Posts: 8
Re: BASS for WinCE
« Reply #20 on: 18 Mar '09 - 01:42 »
Free Pascal can do it. I've wrote a SDL-based text reader for WinCE.

Ian @ un4seen

  • Administrator
  • Posts: 26083
Re: BASS for WinCE
« Reply #21 on: 18 Mar '09 - 16:01 »
OK, I have now sent you the beta. Note that there are a few small API changes to be aware of when updating/creating a Pascal unit for it.

topsuccess

  • Posts: 8
Re: BASS for WinCE
« Reply #22 on: 19 Mar '09 - 06:08 »
Thank you, Ian. These days I will test the BASS for WinCE.

person1069

  • Posts: 3
Re: BASS for WinCE
« Reply #23 on: 19 Mar '09 - 21:15 »
Anyone had success with recording?

I am using the recording sample from the help .chm file and it works fine on desktop.  I copied the code to a windows forms project.

On the mobile device the line:

 _recHandle = Bass.BASS_RecordStart(44100, 2, BASSFlag.BASS_RECORD_PAUSE, _myRecProc, IntPtr.Zero);

Instantly throws a dotnet error.  Was there an extra supporting dll I missed for recording?
Playback works fine so I know my initialization is fine, registration etc.

radio42

  • Posts: 4839
Re: BASS for WinCE
« Reply #24 on: 19 Mar '09 - 21:21 »
Can you be a bit more specific about the error which is thrown?
And are you sure to have at least the .Net 2.0 CF on your device?