Advertising (This ad goes away for registered users. You can Login or Register)

[LIB] Playing .wav and .ogg files

Rejuvenate is a native homebrew platform for PS Vita. Read more about Rejuvenate here.
Post Reply
User avatar
Drakon
Posts: 95
Joined: Thu Mar 17, 2011 8:17 pm
Location: Poland
Contact:

[LIB] Playing .wav and .ogg files

Post by Drakon » Fri Jun 24, 2016 4:19 am

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 :)
Advertising

User avatar
Ruben_Wolfe
Posts: 158
Joined: Sat Aug 09, 2014 9:33 pm

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

Post by Ruben_Wolfe » Sat Jun 25, 2016 9:18 pm

As always, nice work! :)
Advertising

User avatar
MisterAlex
Posts: 13
Joined: Mon Jul 30, 2012 7:29 am
Location: Paris
Contact:

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

Post by MisterAlex » Mon Jun 27, 2016 3:55 pm

Thanks for your sharing !
--------------------------------------------------------
https://twitter.com/MisterAl3x follow me !

User avatar
Drakon
Posts: 95
Joined: Thu Mar 17, 2011 8:17 pm
Location: Poland
Contact:

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

Post by Drakon » Tue Jul 05, 2016 9:00 pm

Fixed.... Took some time but it was one of this nasty copy/paste errors that are hart to find.

Camxpspx123
Banned
Posts: 265
Joined: Sun Jul 15, 2012 6:23 pm

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

Post by Camxpspx123 » Wed Jul 06, 2016 1:17 pm

Could you add volume support ? thanks ! :idea:

romain337
Posts: 219
Joined: Wed Feb 29, 2012 10:42 am
Location: France
Contact:

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

Post by romain337 » Wed Jul 06, 2016 8:26 pm

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 :)

User avatar
MyLegGuy
Posts: 140
Joined: Sat May 16, 2015 10:40 pm
Location: United States

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

Post by MyLegGuy » Tue Aug 23, 2016 3:05 am

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
please reply

Post Reply

Return to “Rejuvenate”