Unity 4 crashes when system.createChannelGroup is used

Using this piece of code:

using UnityEngine;
using System.Collections;
using FMOD;

public class punch: MonoBehaviour {
	
FMOD.RESULT result;
FMOD.System system;
FMOD.ChannelGroup channelGroup;

void Start () {

	result = FMOD.Factory.System_Create (out system);
	result = system.createChannelGroup (null, out channelGroup);
   }
}

crashes Unity 4 on Mac and Win7(x64), telling “access violation” takes place.
The “system.createChannelGroup” line is the one causing crashing as I figured.
I’m lost!

Figured one this one by myself, I had to call init() on system first before using it with createChannelGroup.

result = FMOD.Factory.System_Create (out system);
result = system.init (32, FMOD.INITFLAGS.NORMAL, extradriverdata);
result = system.createChannelGroup (null, out channelGroup);