
February 17th, 2007, 02:26 AM
|
|
Registered User
|
|
Join Date: Jan 2007
Posts: 6
Time spent in forums: 3 h 12 m 51 sec
Reputation Power: 0
|
|
|
Play wav file...
Hi all,
I have a problem in playing the wav file. When i play no any sound. I am new to MMAPI topic. Please help me. The coding is as follows:
is = getClass().getResourceAsStream("/bark.wav");
player = Manager.createPlayer(is, "audio/x-wav");
player.start();
I have placed the bark.wav file in the folder res/audio/x-wav/.
Thanks in advance,
Dhanalakshmi.G
|