Hello friends,
I wanna play sound from file.
like if there is file in “ c:\\ Data \\ others \\ song.mp3”
then how to play it from button event.
please give me some sample code or link.
Thanks in advance.
Regards:
Manmay Gupta
Hello friends,
I wanna play sound from file.
like if there is file in “ c:\\ Data \\ others \\ song.mp3”
then how to play it from button event.
please give me some sample code or link.
Thanks in advance.
Regards:
Manmay Gupta
Try not to multi-post. refer to other thread for pointer to solve your problem.
which API r u using to play a file, plz show me some code whr have u written the play function
I'm having the same problem. I didn't see anything in the wiki and the instructions at this link don't work.
S60 5th Edition C++ Developer's Library v2.0 > S60 C++ API reference > C++ API Reference > S60 Platform Services > Classic UI Services > Sounds API
I get a "Panic ALLOC: 460dcd18" when execting this command
iKeySounds->AddAppSoundInfoListL(R_MYAPP_SOUND_LIST);
Anyone have any simple code for playing a simple sound?
1. You are using a totally different API from the one required for the original question
2. Manmay.gupta had no code when creating this thread, you obviously have one
Are you sure about that you have the same problem?
Anyway, ALLOC panic is a memory leak - and it is raised only when you exit your application, so it can not be caused by a method invocation.