Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building & cross compiling experience
#7
(07-10-2018, 04:06 PM)megamarc Wrote: I don't know what happened to your first run of the C# platformer sample and why it worked ok from second time onwards. I'm glad you have it already running!
Yeah well - I'm just lucky I guess?? Biggrin Last week I resized some partitions, Linux Mint failed to boot... horrified, I reset... and it magically worked the second time?? Swear to god it's a plain install of Linux Mint and I haven't messed around with the OS partition, just installed apps through the software manager... and the commandline "sudo app install" whatever...


Quote:The C# binding you name is the official one, which is a direct port of the C API. It's quite straightforward to load sound/music and play them, I don't have other advice than keep at hand the original documentation of the SDL_mixer here: https://www.libsdl.org/projects/SDL_mixe....html#SEC2. Despite the large number of functions, it does take just 4 function calls (complete in with suitabl parameters):
  1. Mix_Init()
  2. Mix_OpenAudio()
  3. Mix_LoadMUS()
  4. Mix_PlayMusic()

Well that seems pretty straight forward, thanks Smile I will dive into it.
Reply


Messages In This Thread
RE: Building & cross compiling experience - by Domarius - 07-10-2018, 09:16 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)