Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

116
Views
Packing Audio Files

Hello so I have been working on my own Game and I have a question so right now I am calling my audio files directly for example

AudioMaster.loadSound(OsManager.getDirectory() + "theme.WAV");

So I was wondering if first have anyone got any recommendations on how I could call the music using an ID like

AudioMaster.loadSound(1);

put have all of the music packed into one file so I could have 6 music pieces in one file like music.dat or something like that with an extension

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You could make loadSound function like:

loadSound(int soundId){
     switch(soundId){
     case 1:
      //load what sound you want
     break;
     case 2:
    //load what sound you want
     break;
    }
}

Is it what you want?

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!