Ok, while trying to solve my latency problems I was posting in the Audio Scrubbing thread, I tried switching to ALSA as my driver (I was using ESD and that has big latency issues).
When I call FSOUND_Init (with params 44100, 32, 0), the process crashes in what looks like the FSOUND_Output_ALSA_Sample_Alloc (more specifically in the snd_pcm_hw_params_set_rate_near function…). Does that just mean that my ALSA device is not compatible with fmod? Or is there some option that I need to disable in that case?
That’s my guess, so I’m gonna try recompiling my kernel and seeing if that helps….
- adruab asked 14 years ago
Yeah, that’s what I thought, I just spent the rest of today upgrading gcc and downloading the next version of the kernel. I’m searching the net at the moment for things related to fmod and alsa, but we’ll see… hopefully a new kernel will do it some good.
Ok, well, bad news is I’m having issues with Kernel rebuilding. Good news is that OSS works now, and you’re right it does have good latency. It doesn’t seem to like to share the sound system with other programs, but that’s ok I guess.
Thanks for the help.
I am having the same problems than you describe using fmod and ALSA.
I mailed to email@example.com about this a while ago, and Brett replied that it had something to do with my alsa drivers or something.
Well, I am absolutely positively sure that there is nothing wrong with my ALSA setup and I have tried almost every kernel/ALSA combination but FMOD_sound_init always crashes when selecting ALSA as output.
OSS output works for me too, and gives little latency, but ALSA would be nicer (because of better mixing/multichannel support), so I hope that this will ever get fixed in fmod. (Brett, this is an fmod issue…)
Correction: i didn’t mail Brett about this, I reported it on this forum: http://22.214.171.124/forum/viewtopic.php … highlight=
- bamboe answered 14 years ago
Please login first to submit.