Homebrew Anyone knows lightweight c\c++ audio player with no dependences?

mironicurse

Well-Known Member
OP
Member
Joined
Sep 28, 2015
Messages
141
Trophies
0
Age
31
XP
601
Country
Russia
I wanna TRY to port that, so don't get too excited about it. Should I write player from scratch instead?
So for now I want to achieve basic mpeg2/3 audio decoding, output through dsp and multithreading for audio and gui.
 

CalebW

Fellow Temper
Member
Joined
Jun 29, 2012
Messages
638
Trophies
0
Location
Texas
XP
545
Country
United States
It would be better to write it yourself for the 3ds than try and port some pc software. And good luck finding any without any dependencies, the software has to interface with your hardware in order to play the sound through your speakers. And every computer has different hardware, so that's why the programs have dependencies. Otherwise the devs of the program would have to uniquely code the program to write to the appropriate bytes in memory for every fucking computer out there.
 

elhobbs

Well-Known Member
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,035
Country
United States
I wanna TRY to port that, so don't get too excited about it. Should I write player from scratch instead?
So for now I want to achieve basic mpeg2/3 audio decoding, output through dsp and multithreading for audio and gui.
The libraries to decide different formats can likely be ported but I suspect the ui would best best written from scratch. I have used a few different approaches for streaming sound with both CSND and Dsp and my one bit of advice would be to avoid a timer based approach. The high precision timer on the 3ds is not precise enough. It is good for measuring small intervals but it will drift. Dsp with multiple play buffers seems to be the best approach. If you keep several small buffers queued and queue more as they finish to keep the number consistent then it will avoid the common sync issues that cause pops and other hitches in sound playback.
 
  • Like
Reactions: mironicurse

elBenyo

Wad of meat.
Member
Joined
Jan 2, 2016
Messages
487
Trophies
0
Age
33
XP
885
Country
United States
Years ago I slapped a DOS mp3 player in DOSbox on my ps3 and it worked fine. The DOSbox for 3DS has SD access. Instead of building a core you can run C+ on the RetroArch core.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Glad I bought a card reader type c and usb A makes life easy
  • Xdqwerty @ Xdqwerty:
    Yawn
  • RedColoredStars @ RedColoredStars:
    i download movies on my PC that is connected to my living room tv.
  • RedColoredStars @ RedColoredStars:
    Monitors are too small for my bad eyesight so I use my main tv and wirelss keyboard and wireless trackball mouse.
  • RedColoredStars @ RedColoredStars:
    I tried wireless transfer on phone before and yes, it's garbage. lol. So sloooooooooowwwwww.
  • BigOnYa @ BigOnYa:
    New south park was not really that funny.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i heard modern south park is too serious
  • K3Nv2 @ K3Nv2:
    Did it hurt your feelings?
    +1
  • BigOnYa @ BigOnYa:
    Some are still funny, but they always try to use a subject matter related to something going on today.
  • K3Nv2 @ K3Nv2:
    All you need is one dose of Lizzo to make yourself feel better
    +1
  • Xdqwerty @ Xdqwerty:
    Who tf is lizzo
  • K3Nv2 @ K3Nv2:
    They always make valid points on that show and it goes over people's heads over sensitivity reasons
    +1
  • The Real Jdbye @ The Real Jdbye:
    @BigOnYa i mean south park did that way back in the day too
    +2
  • The Real Jdbye @ The Real Jdbye:
    remember the Michael Jackson episodes?
  • K3Nv2 @ K3Nv2:
    Or blaming the only jew in the show on 9/11 or having the police shoot the only black kid during a school shooting or saying Kanye a gay fish list goes on
    +2
  • The Real Jdbye @ The Real Jdbye:
    the gay fish thing was funny as fuck
    +1
  • The Real Jdbye @ The Real Jdbye:
    and i don't even follow or care about kanhye
    +1
  • BigOnYa @ BigOnYa:
    Everytime i hear that real song, i think of that episode, "I'm a Gay fish yal."
    +1
  • K3Nv2 @ K3Nv2:
    So was the way they showed how messed up the American health system was to get anything done
  • Xdqwerty @ Xdqwerty:
    i dont watch south park that much
  • BigOnYa @ BigOnYa:
    Old people driving was a funny one, like cars up on 2nd/3rd floors in houses. Had to shut down old country buffet to stop them.
    Xdqwerty @ Xdqwerty: https://www.youtube.com/watch?v=gBpKupfQEKE