Author Topic: Native now has SDL  (Read 33353 times)

nzeemin

  • Guest
Re: Native now has SDL
« Reply #40 on: September 24, 2010, 11:41:28 am »
Harteex, can you address this issue? or maybe advice me some workaround?

http://code.google.com/p/dingoo-sdk/issues/detail?id=54

SDL_OpenAudio function hangs for samples = 441. If you change samples to 512 then it works fine.

Harteex (OP)

  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: Native now has SDL
« Reply #41 on: September 24, 2010, 04:49:24 pm »
Yea I saw the issue, but haven't had time to look at it yet. I'm very busy at the moment.
My guess is that the waveout function expects a buffer with a size with the power of two, but I haven't looked into it yet. I should be able to work around that, if that is the case though.

Harteex (OP)

  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: Native now has SDL
« Reply #42 on: September 24, 2010, 08:41:49 pm »
I've updated your issue. Basically, 8bit sound is not supported.
As for a workaround, convert your audio to 16bit instead and use double the buffer size.

djdron

  • Posts: 33
Re: Native now has SDL
« Reply #43 on: September 25, 2010, 03:36:04 pm »
Hello, Hartex!
Looks like SDL depends from sml. Can we remove this dependence?

Harteex (OP)

  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: Native now has SDL
« Reply #44 on: September 26, 2010, 03:07:14 pm »
Sure, it's only the controls which depends on SML right now if I remember correctly. But what would it accomplish?

I don't have time to do that right now though. You're welcome to fix it yourself if you feel like it.

 

Post a new topic