Google Summer of Code has begun!

Today is the first day of coding for the Google Summer of Code!

Just as a reminder, here are the students actively working on GSoC projects:

Edgar “bobbens” Simo:
Bobbens is an undergrad in industrial engineering, and will be working on developing a force feedback API.

Aaron Wishnick:
Aaron is an undergrad in mathematics, and will be working on audio resampling and pitch shifting.

Holmes Futrell:
Holmes is an undergrad in computer science and mathematics, and will be porting SDL to the iPhone.

Darren Alton:
Darren is an undergrad in computer science, and will be porting SDL 1.3 to the Nintendo DS, using the hardware capabilities of the DS to showcase the new features in SDL 1.3.

Szymon “Wilku” Wilczek:
Wilku is an undergrad in computer science, and wants to add support for pressure sensitive devices to the SDL API, specifically using the Wacom tablet as an example.

Please wish these students the best of luck. :slight_smile:

See ya!
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment

Quoting Sam Lantinga :

Today is the first day of coding for the Google Summer of Code!

Hooooray! Go team SDL!

On Mon 26 May 2008 07:59, Sam Lantinga pondered:

Today is the first day of coding for the Google Summer of Code!
[snip]
Aaron Wishnick:
Aaron is an undergrad in mathematics, and will be working on audio
resampling and pitch shifting.

In fixed or floating point?

There are many low cost platforms using SDL, which do not include a FPU.

For an example, have a look at the SDL demos/applications (and some DirectFB
and QT ones) running on a Blackfin processor:

-Robin

resampling based on DDA would avoid floats.

anyway, I think a mathematics student is a perfect fit for this task :slight_smile:

fwiw, the patch in bugzila #477 has been in the OpenBSD sdl packages
for several months and noone has reported problems with it. in fact,
we even “force” resampling because there are some applications (ffplay
from ffmpeg, for example) that avoid resampling because it is(was)
broken. the first chunk here “forces” the resampling, the second
chunk is the patch in bugzilla.

this gets used a lot on OpenBSD because, unlike most other operating
systems, we have no resampling in our kernel’s audio layer, and
several devices can only do e.g. 48kHz.

— src/audio/SDL_audio.c.orig Sun Dec 30 20:47:59 2007
+++ src/audio/SDL_audio.c Mon Apr 28 06:45:57 2008
@@ -518,8 +526,9 @@ int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpe

/* See if we need to do any conversion */
if ( obtained != NULL ) {
  •   SDL_memcpy(obtained, &audio->spec, sizeof(audio->spec));
    
  • } else if ( desired->freq != audio->spec.freq ||
  •   SDL_memcpy(obtained, desired, sizeof(audio->spec));
    
  • }
  • if ( desired->freq != audio->spec.freq ||
    desired->format != audio->spec.format ||
    desired->channels != audio->spec.channels ) {
    /* Build an audio conversion block */
    @@ -532,7 +541,7 @@ int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpe
    return(-1);
    }
    if ( audio->convert.needed ) {
  •   	audio->convert.len = (int) ( ((double) desired->size) /
    
  •   	audio->convert.len = (int) ( ((double) audio->spec.size) /
                                         audio->convert.len_ratio );
      	audio->convert.buf =(Uint8 *)SDL_AllocAudioMem(
      	   audio->convert.len*audio->convert.len_mult);On Mon, May 26, 2008 at 10:54:44AM -0400, Robin Getz wrote:
    

On Mon 26 May 2008 07:59, Sam Lantinga pondered:

Today is the first day of coding for the Google Summer of Code!
[snip]
Aaron Wishnick:
Aaron is an undergrad in mathematics, and will be working on audio
resampling and pitch shifting.

In fixed or floating point?


@Jacob_Meuser
SDF Public Access UNIX System - http://sdf.lonestar.org

Cool.

Will any of them be blogging about their projects? If so, what are the links?

cu,

Here are some pygame(SDL in python) gsoc student blogs:—
Zhang Fan - physics module for pygame.
http://i.cn.yahoo.com/zhangfanfox/blog/

Nicholas Dudfield - adding unittests, and speed tests to pygame.
http://blog.akalias.net/

Nirav Patel - webcam support for pygame on OLPC/linux.
http://eclecti.cc/

On Mon, May 26, 2008 at 9:59 PM, Sam Lantinga wrote:

Today is the first day of coding for the Google Summer of Code!

Just as a reminder, here are the students actively working on GSoC projects:

Edgar “bobbens” Simo:
Bobbens is an undergrad in industrial engineering, and will be working on developing a force feedback API.

Aaron Wishnick:
Aaron is an undergrad in mathematics, and will be working on audio resampling and pitch shifting.

Holmes Futrell:
Holmes is an undergrad in computer science and mathematics, and will be porting SDL to the iPhone.

Darren Alton:
Darren is an undergrad in computer science, and will be porting SDL 1.3 to the Nintendo DS, using the hardware capabilities of the DS to showcase the new features in SDL 1.3.

Szymon “Wilku” Wilczek:
Wilku is an undergrad in computer science, and wants to add support for pressure sensitive devices to the SDL API, specifically using the Wacom tablet as an example.

Please wish these students the best of luck. :slight_smile:

See ya!
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I will be! http://lifning.americankryptonite.net/blag/

Suppose I’ll be posting my progress on this mailing list, as well.
I’m hoping to put together a basic video driver over the next couple of days
(none of the tricky stuff I blogged about yet, though).–
Darren
http://lifning.americankryptonite.net/blag/

On Tue, 2008-05-27 at 14:24 +1000, Ren? Dudfield wrote:

Cool.

Will any of them be blogging about their projects? If so, what are the links?

cu,

Here are some pygame(SDL in python) gsoc student blogs:

Zhang Fan - physics module for pygame.
http://i.cn.yahoo.com/zhangfanfox/blog/

Nicholas Dudfield - adding unittests, and speed tests to pygame.
http://blog.akalias.net/

Nirav Patel - webcam support for pygame on OLPC/linux.
http://eclecti.cc/

On Mon, May 26, 2008 at 9:59 PM, Sam Lantinga wrote:

Today is the first day of coding for the Google Summer of Code!

Just as a reminder, here are the students actively working on GSoC projects:

Edgar “bobbens” Simo:
Bobbens is an undergrad in industrial engineering, and will be working on developing a force feedback API.

Aaron Wishnick:
Aaron is an undergrad in mathematics, and will be working on audio resampling and pitch shifting.

Holmes Futrell:
Holmes is an undergrad in computer science and mathematics, and will be porting SDL to the iPhone.

Darren Alton:
Darren is an undergrad in computer science, and will be porting SDL 1.3 to the Nintendo DS, using the hardware capabilities of the DS to showcase the new features in SDL 1.3.

Szymon “Wilku” Wilczek:
Wilku is an undergrad in computer science, and wants to add support for pressure sensitive devices to the SDL API, specifically using the Wacom tablet as an example.

Please wish these students the best of luck. :slight_smile:

See ya!
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I’m Edgar Simo, I’ll be working on the Force Feedback API. I’m
currently studying 3rd year of Industrial Engineering in Barcelona,
Spain. This is my first time doing the Google Summer of Code. Some of
you may know me as “bobbens” on the IRC channel.

RESEARCH

Currently I’ve done most of the research on force feedback API for
Linux, Mac OS and Windows. It is very similar so there shouldn’t be
many problems merging a common base. They all follow the same design:

  • Open Device
  • Create Effects
  • Upload Effects
  • Control effects (play/stop/modify)
  • Close device

Which is the approach I’ll be following.

Since most consumer force feedback devices tend to be joysticks, the API
will permit opening a force feedback device from a joystick if it has
force feedback available. I’m also considering the possibility of doing
the same for force feedback mice. You’ll also be able to get a list of
all the force feedback devices on the system, similar to the current
SDL_Joystick setup.

TIMELINE

Dates to look out for:

  • July 10:
    • Version 0.1
    • First Prototype (Linux)
    • Good time to start testing the API
  • August 1:
    • Version 0.5
    • Second Prototype (Linux/Mac/Windows)
    • Thorough testing will be needed.
  • August 8:
    • Version 1.0
    • Official Release
    • Should be bug-free by now
    • Most likely will be merged with SDL 1.3

I’ll also try to implement force feedback for as many other OS as
possible. If you know of an OS that is not listed, is supported by SDL
and already has a force feedback API, I’d be very interested to hear
about it so I can try to add force feedback support to it.

Why the delay in starting coding? Being in a European university, I
have final exams until June 30th (included). They will take up all my
time and devotion during the entire June period. I wish I had them
earlier as to not interfere with the program, but it can’t be that way.
I will make up by coding much more in July, as SDL will be my primary
concern for the rest of the summer.

CODE

I’ll be working on my own branch until it’s merged with trunk. You can
find it here:

http://svn.libsdl.org/branches/gsoc2008_force_feedback

Working name at this time is SDL_Haptic, ForceFeedback is much longer to
write and abbreviations will be more complicated then just writing
Haptic. It may be changed, but that’s why it’s considered unstable.

Nothing has been committed at the moment, but I might try to upload my
current work this weekend (nothing too fancy yet). If not, it’ll get
there when I’m done with exams.

END

Updates will be posted on the mailing list as progress is made. Feel
free to post any questions, comments, doubts or oddities.

Edgar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIPFvXolm4VNX3QTwRApOXAJ937Cx9kGzXWPxYonjgzt4SupdqngCfczes
1jn4zhSLjojkimVJ46134T8=
=5xPP
-----END PGP SIGNATURE-----

Hello,

Maybe I am writing a bit late, but I would like to share this page
http://wilku.ravenlord.ws/doku.php?id=start with you. Here I shall be
keeping the implementation ideas and notices of the many_mouse and
touch_input project. It will help with the documentation process, I hope,
and will keep everything all together. There are a few informations there
currently, all comments would be appreciated. I wish everyone luck!

Best wishes–
“For those about to code”
–Szymon “Wilku” Wilczek

Hello Everybody,

As Sam’s message stated, I’m Holmes Futrell and I’m working to port
SDL to the iPhone / iPod Touch.

As of right now I have SDL compiling for the platform as a static
library, using the dummy drivers with the exceptions of threading and
timers, which were able to use the Mac OS X code without change. I’ve
also got an example application compiling and running on the iPhone,
so I can confirm that yes, it really does work.

Currently I’m investigated writing video drivers, and I’m definitely
planning on supporting OpenGL ES.

An idea of mine is to expose the iPhone/iPod Touch accelerometer as a
joystick. The accelerometer returns x,y,z orientation data which maps
well to the idea of the x,y,z axis of a joystick. I figure doing it
this way would be preferable to adding new calls to SDL. Please tell
me what you guys think…

I’d also like to expose the multi-touch capability of the devices, but
unsure of the best way to proceed. So anybody else working with multi-
touch and SDL, let’s see if we can cook something up (and not undo
each-other’s work!)

  • HolmesOn May 26, 2008, at 4:59 AM, Sam Lantinga wrote:

Today is the first day of coding for the Google Summer of Code!

Just as a reminder, here are the students actively working on GSoC
projects:

Edgar “bobbens” Simo:
Bobbens is an undergrad in industrial engineering, and will be
working on developing a force feedback API.

Aaron Wishnick:
Aaron is an undergrad in mathematics, and will be working on audio
resampling and pitch shifting.

Holmes Futrell:
Holmes is an undergrad in computer science and mathematics, and will
be porting SDL to the iPhone.

Darren Alton:
Darren is an undergrad in computer science, and will be porting SDL
1.3 to the Nintendo DS, using the hardware capabilities of the DS to
showcase the new features in SDL 1.3.

Szymon “Wilku” Wilczek:
Wilku is an undergrad in computer science, and wants to add support
for pressure sensitive devices to the SDL API, specifically using
the Wacom tablet as an example.

Please wish these students the best of luck. :slight_smile:

See ya!
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Edgar Simo wrote:

I’ll be working on my own branch until it’s merged with trunk. You can
find it here:

http://svn.libsdl.org/branches/gsoc2008_force_feedback

Working name at this time is SDL_Haptic, ForceFeedback is much longer to
write and abbreviations will be more complicated then just writing
Haptic. It may be changed, but that’s why it’s considered unstable.

I think that Haptic is a great name for what sounds like will be a great
product.

On the following call:

m_draw_context = SDL_SetVideoMode(event.w, event.h, 0, SDL_HWSURFACE |
SDL_OPENGL | SDL_RESIZABLE);

…the window resizes appropriately but snaps to the center of the
desktop.

How do I prevent this snapping effect?

I am running SDL on Mac OS X 10.5 (Xcode 3.0) with SDL version
1.2.13. The SDL framework was downloaded from the official website.

thanks,
-graham

Sorry, I think I sent this to the wrong list.Begin forwarded message:

From: Graham Reitz <@Graham_Reitz>
Date: June 1, 2008 11:54:32 AM CDT
To: sdl at libsdl.org
Subject: [SDL] Prevent window from snapping to center of desktop on
resize?
Reply-To: “A list for developers using the SDL library. (includes
SDL-announce)”

On the following call:

m_draw_context = SDL_SetVideoMode(event.w, event.h, 0, SDL_HWSURFACE
| SDL_OPENGL | SDL_RESIZABLE);

…the window resizes appropriately but snaps to the center of the
desktop.

How do I prevent this snapping effect?

I am running SDL on Mac OS X 10.5 (Xcode 3.0) with SDL version
1.2.13. The SDL framework was downloaded from the official website.

thanks,
-graham


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Graham Reitz wrote:

On the following call:

m_draw_context = SDL_SetVideoMode(event.w, event.h, 0, SDL_HWSURFACE |
SDL_OPENGL | SDL_RESIZABLE);

…the window resizes appropriately but snaps to the center of the
desktop.

How do I prevent this snapping effect?

I am running SDL on Mac OS X 10.5 (Xcode 3.0) with SDL version 1.2.13.
The SDL framework was downloaded from the official website.

You can’t, short of hacking around within SDL itself. On 1.2 at least, I
don’t know offhand how this works in 1.3.

Mentioned previously in a bit more detail here:
http://thread.gmane.org/gmane.comp.lib.sdl/35523/focus=35534
http://thread.gmane.org/gmane.comp.lib.sdl/35613/focus=35615

Sorry, I think I sent this to the wrong list.

Right list, but wrong thread.

-Christian