Hi,
I am working on a port of SqueezePlay to Windows Mobile. Today I finally got it stable enough. Everything I tested, works (audio playback stutters).
Main problem right now it does not play nice with other apps (redraws, even if other apps are in the foreground etc.) start menu is hidden etc. No software keyboard support.
Many of the subprojects were already prepared for Windows CE or were unproblematic. Still it was a world of pain, to get everything to compile and run, as Windows CE has a lot of quirks and limitations.
Most problematic was the memory consumption, as applications can effectively use only about 20-24 MB of virtual memory (memory fragmentation is a big problem). I had to extend SDL a lot to make it run (the Surfaces are now RLE compressed downto 1/2 or even 1/10 of the original size)
The build requires Visual Studio 2008 (I am using Professional) and the
Windows Mobile 6 SDK and refresh, should build for WM5 as well).
I have created new project file to avoid conflicts with the Windows builds.
If someone is interested I could send the patches.
One thing I noticed there is no suitable skin for touchscreen only devices (I own a Touch HD), missing direction pad for the controller skin, and not enough controls on the FullSCreenSkin (volume etc)
I would like to know, if there is maybe ongoing work in this direction.
If not, I could need some help for designing a new skin, probably is a lot of work.
Rudolf
Results 1 to 10 of 120
Hybrid View
-
2009-03-29, 11:31 #1Member
- Join Date
- Mar 2009
- Posts
- 61
Squeezeplay on Windows Mobile, Touch Skin
-
2009-03-29, 21:07 #2
[SlimDevices: Jive] Squeezeplay on Windows Mobile, Touch Skin
Hi Rudolph,
Nice work! Please feel free to post the patches.
We hadn't really considered a WinMo port, would love to start a
discussion about it here...
-dean
On Mar 29, 2009, at 11:31 AM, rudolf_j wrote:
>
> Hi,
>
> I am working on a port of SqueezePlay to Windows Mobile. Today I
> finally got it stable enough. Everything I tested, works (audio
> playback stutters).
> Main problem right now it does not play nice with other apps (redraws,
> even if other apps are in the foreground etc.) start menu is hidden
> etc. No software keyboard support.
>
> Many of the subprojects were already prepared for Windows CE or were
> unproblematic. Still it was a world of pain, to get everything to
> compile and run, as Windows CE has a lot of quirks and limitations.
>
> Most problematic was the memory consumption, as applications can
> effectively use only about 20-24 MB of virtual memory (memory
> fragmentation is a big problem). I had to extend SDL a lot to make it
> run (the Surfaces are now RLE compressed downto 1/2 or even 1/10 of
> the
> original size)
>
> The build requires Visual Studio 2008 (I am using Professional) and
> the
> Windows Mobile 6 SDK and refresh, should build for WM5 as well).
> I have created new project file to avoid conflicts with the Windows
> builds.
>
> If someone is interested I could send the patches.
>
>
> One thing I noticed there is no suitable skin for touchscreen only
> devices (I own a Touch HD), missing direction pad for the controller
> skin, and not enough controls on the FullSCreenSkin (volume etc)
> I would like to know, if there is maybe ongoing work in this
> direction.
> If not, I could need some help for designing a new skin, probably is a
> lot of work.
>
> Rudolf
>
>
> --
> rudolf_j
> ------------------------------------------------------------------------
> rudolf_j's Profile: http://forums.slimdevices.com/member.php?userid=29177
> View this thread: http://forums.slimdevices.com/showthread.php?t=61925
>
>
-
2009-03-30, 02:44 #3
I am very interested in a WinMob port

Excellent work so far Rudolf, sounds promising.
-
2009-03-31, 01:05 #4Member
- Join Date
- Mar 2009
- Posts
- 61
Diff
Hi,
here are the diffs.
Some comments. There are some changes to the LUA code, Lua on Windows CE, does not like file end, without a CR or LF. I have switched of the startup and close sound (use 1MB of memory).
There are ifdefs for all the new stuff. The Windows version still builds, and an earlier version built on Linux, so hopefully I did not break anything.
I have used some external libraries/code for the Windows CE port, but they have permissive licenses.
There is README.WindowCE file with some hints for building. The main solution is JiveWM.sln (uses a set of new projects, which are suffixed with WM)
Rudolf
-
2009-04-08, 06:17 #5Senior Member
- Join Date
- Jun 2007
- Location
- England
- Posts
- 382
This sounds like a fantastic idea, something I'm very interested in!
So I decided get the source of SqueezePlay and I can now run SqueezePlay from VS2008 just fine.
So my next step is to apply your diff file and get your WM version up and running. This is my first time using subversion and I chose Tortoise as my clent.
When I try to apply your diff file, I first get two dialogs both explaiing that the following files:
src\squeezeplay\share\applets\Playback\loadPriorit y.lua
src\squeezeplay\share\applets\Playback\loadPriorit y.lua
"is not under version control"
After that I get many dialogs explaining that "The patch seems outdated!" giving details of the file and patch line.
Is this just as simple as I'm not applying the diff file to the correct version?
I checked out the version located at:
http://svn.slimdevices.com/repos/jiv...nk/squeezeplay
Any ideas on what I'm doing wrong?
Thanks for the hard work!
-
2009-04-08, 10:17 #6Member
- Join Date
- Mar 2009
- Posts
- 61
Excellent!
Which PDA/cell phone will you be using it on?
Sorry my fault, the patch was against the 7.4 branch (Squeezeplay 7.4 works against SqueezeCenter 7.3).
When I try to apply your diff file, I first get two dialogs both explaiing that the following files:
src\squeezeplay\share\applets\Playback\loadPriorit y.lua
src\squeezeplay\share\applets\Playback\loadPriorit y.lua
"is not under version control"
After that I get many dialogs explaining that "The patch seems outdated!" giving details of the file and patch line.
Is this just as simple as I'm not applying the diff file to the correct version?
I checked out the version located at:
http://svn.slimdevices.com/repos/jiv...nk/squeezeplay
I compared with the repository the patch should apply against current
head version, but no guarantees, it was made against 4927 I think.
I tried the patch on a fresh checkout last time, but probably there are some more pitfalls I did not mention (check the Readme.WindowsCE),
I will test it again in the next days.
Rudolf
-
2009-04-08, 13:27 #7Senior Member
- Join Date
- Jun 2007
- Location
- England
- Posts
- 382
-
2009-04-09, 03:43 #8Senior Member
- Join Date
- Jun 2007
- Location
- England
- Posts
- 382
Thanks, I have now managed to apply the diff file.
It probably worth mentioning now that the only WM development I have ever done has been managed using the .NET Compact Framework - so most of this is quite new to me.
I opened your JiveWM solution and set 'squeezeplay' as the startup project. When I try to run it I get a lot of error messages that all seem to be in the SDK header files. I think the most important being:
I installed the refresh of the WM6 SDK so I'm pretty sure it's the correct one. Any ideas? Am I missing something else?error C2061: syntax error : identifier 'PCONTEXT' in winnt.h from SDLmain & portaudio
error C2061: syntax error : identifier 'LPCONTEXT' in winbase.h from SDLmain
Thanks!
-
2009-04-09, 04:03 #9Member
- Join Date
- Mar 2009
- Posts
- 61
I never did any WM development before, so you should be fine

Sorry. I really had a lot of trouble with this error(wasted an hour or more). I tried everything even changing the include files winnt/winbase to make it work. I thought I had rolled back these changes and made a clean solution with undef, but it seems I left some changes in my local VisualI opened your JiveWM solution and set 'squeezeplay' as the startup project. When I try to run it I get a lot of error messages that all seem to be in the SDK header files. I think the most important being:
I installed the refresh of the WM6 SDK so I'm pretty sure it's the correct one. Any ideas? Am I missing something else?
Thanks!
Studio installation. Again, sorry. Will check into that when I am at my home machine.
Rudolf
-
2010-01-19, 18:53 #10Junior Member
- Join Date
- Apr 2009
- Posts
- 23

Reply With Quote


