Page 1 of 1

[LIB] Playing .wav and .ogg files

Posted: Fri Jun 24, 2016 4:19 am
by Drakon
Hey. To anyone still active here :D

Here https://github.com/DrakonPL/VitaSound is very very simple example of playing wav. and .ogg files on vita.

It's my test code. For some strange reason streaming from file is working but loading from memory not... It's strange because the same code works fine in my bigger project... I just wanted to share it. I had some problems with Vita and will try to find today why loading from memory is not working.

Cheers :)

Re: [LIB] Playing .wav and .ogg files

Posted: Sat Jun 25, 2016 9:18 pm
by Ruben_Wolfe
As always, nice work! :)

Re: [LIB] Playing .wav and .ogg files

Posted: Mon Jun 27, 2016 3:55 pm
by MisterAlex
Thanks for your sharing !

Re: [LIB] Playing .wav and .ogg files

Posted: Tue Jul 05, 2016 9:00 pm
by Drakon
Fixed.... Took some time but it was one of this nasty copy/paste errors that are hart to find.

Re: [LIB] Playing .wav and .ogg files

Posted: Wed Jul 06, 2016 1:17 pm
by Camxpspx123
Could you add volume support ? thanks ! :idea:

Re: [LIB] Playing .wav and .ogg files

Posted: Wed Jul 06, 2016 8:26 pm
by romain337
Well, this message is kind of useless, but anyway:

I don't think I'll find the time to use it in Flood-It (I have to setup the PSVITA and computer from zero to dev again), but thank you. Your work is appreciated. I hope you spent some good time developping on vita :)

Re: [LIB] Playing .wav and .ogg files

Posted: Tue Aug 23, 2016 3:05 am
by MyLegGuy
How do I play the same sound twice?
After I've played a sound (using PlayAudio) once I can't play it again, even after calling StopAudio.

Here's my code:
http://pastebin.com/RQQkB5V7