I have installed your environment from your site http://fpc4gp2x.eonclash.com/ and compile your gp2x_tutorial successfully.

It runs under gp2x well. So added the unit SDL_Mixer and insert following lines:

Code:
const
  cFrequenz        = MIX_DEFAULT_FREQUENCY; 
  cAudioFormat     = AUDIO_S16;
  cChannels        = MIX_DEFAULT_CHANNELS;
  cChunksize       = 128;
After calling of SDL_Init, i add those lines:
Code:
  if &#40;Mix_OpenAudio&#40;cFrequenz, cAudioFormat, cChannels, cChunksize&#41; < 0&#41;
  then begin
    WriteLn&#40;Format&#40;'Couldn''t set %d Hz audio\n- Reason&#58; %s', &#91;cFrequenz,  SDL_GetError&#40;&#41;&#93;&#41;&#41;;
  end;
And, what happen? Yes, it crashed on gp2x in function Mix_OpenAudio.

Any idea what i can do?

cheers,
Thomas