@Jeffos: Thank you for letting me know! Yeah I should also check the update notes.
What I am doing is: I want to create a track, create a media item, and then insert midi events into the media item. For now I just create a simple and empty midi file at runtime and call PCM_Source_CreateFromFile(). It works but it's totally a hack.
I will try the new API after the next stable version is out, since my customer are not using the pre versions at their work