cocos2d/cocos2d-x — Issue #689: SimpleAudioEngine on Linux port
Author: xal
Created: 2012-01-29 08:59:35+00:00
State: open

While try to play background music on linux port

```c++
SimpleAudioEngine::sharedEngine()->playBackgroundMusic("background.wav", true);
```

Nothing happens

But, when i play effect

```c++
SimpleAudioEngine::sharedEngine()->playEffect("move.wav");
```
It's played twice

I try other sound format's and but nothing has changed.
Also I add this code before play sound

```c++
SimpleAudioEngine::sharedEngine()->preloadEffect("move.wav");
SimpleAudioEngine::sharedEngine()->preloadBackgroundMusic("background.wav");
```

Nothing has changed too.

I compile and run same project on win32 it's work perfectly.

MySystem : Linux Mint 11 x32 (based on Ubuntu 11.04)
cocos2d : latest release from github