Fixed #2431: fixed the bug of Audio manager.
Fixed #2431: modify codes for supporting advance compile.
Merge pull request #2432 from dingpinglv/Iss2431_Audio

Fixed #2431: fixed the bug of Audio manager.