Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hello, I've been trying out the examples in irrKlang 1.4.0 on my Linux machine (Fedora 17 x86_64; I had to add "-m32" to OPTS in the Makefile in order to actually build 'em properly). None of them actually seem to produce any sound, though. I'm not running any sound servers like PulseAudio or the like - everything should just go straight to ALSA. It seems as though irrKlang correctly detects that, because I get a "Using ALSA driver" message on the console when I run them. I added in some code to do device enumeration on the first example, and using the following printf: printf("%d: %s (id: %s)\n", i, deviceList->getDeviceDescription(i), deviceList->getDeviceID(i)); I just end up getting the following list: 0: default device (id: ) After looking over the docs, I assume that I should probably be seeing some actual card information in there? Anyway, let me know if I can supply any more information. Here's some specifics about my system and the hardware in question: !!Kernel Information Oh, and sound for everything else on my system does appear to be working fine; it's just these irrKlang demos (and another game which happens to use irrKlang) which is having trouble. Edit: Oh, and I should mention that even though I'm on a 64-bit kernel, I do have the necessary 32-bit ALSA drivers installed. Most of the other games I've got on the system are 32-bit and they're all working as well. The relevant packages: alsa-lib-1.0.26-1.fc17.i686 |
||||
|
A few more details here; I added some more debugging to the first example, specifically this block which gets executed at every keypress: void show_status(ISound *sound, ISoundEngine *engine, const char *filename) Everything looks good on the output on that, except that the value returned by getPlayPosition() is always zero - it never increments. I can set it with setPlayPosition() and subsequent calls will reflect that update, but it appears to never actually update on its own. Upon looking around a bit, it seems that the "MusicPlayer" example app actually has the same issue - the sound files get loaded apparently but never actually progress. |
||||
|
Strange, and the other examples are not working either? |
||||
|
wrote: Strange, and the other examples are not working either? Yeah, correct - none of the examples actually produce sound on my system. It's rather odd. :) |
||||
|
There will be a small update of irrKlang within about one week (estimated) which includes some feature improvements of the Linux port. It could be that this also fixes your problem, let's see. :) |
||||
|
Hello - I see that there's a 1.4.0b release out. The behavior I get is the same, btw. No sound plays, and getPlayPosition() appears to always stay at zero and never increments. |
||||
|
Too bad, really strange. I'll try to get your distribution and try to reproduce your problem. This could take a but, though. |
|