![]() |
FS-UAE and external usb soundcard on Linux
Frode a request.
I have a external usb soundcard not compatible with alsamixer but fully functional. With this card fs-uae does not play any sound, probably because of incompatibility with alsamixer. Can I choose from the emulator the audio output driver between pulseaudio,sdl or alsa? |
Quote:
FS-UAE only uses OpenAL. But you most likely have the "soft openal" version which does not talk to the hardware directly, but through another audio driver/backend such as ALSA. OpenAL can have many different backends, and it is possible to choose which one is used. Take a look at this: http://repo.or.cz/w/openal-soft.git/...lsoftrc.sample You are interested in this option: Code:
## drivers: I tested it, creating ~/.alsoftrc with this content: Code:
drivers = alsa If you can use ALSA, and this USB device of yours is not the default device, you may need to consider this option as well (still in .alsoftrc -has nothing to do with FS-UAE !!): Code:
[alsa] Code:
fs_emu_audio_init |
Apparently it is the same problem I found with Mednafen.
Unfortunately, the only way to obtain the audio output would be to force the use of the sdl driver, which is not expected from the options of openal. |
Quote:
If there were an SDL backend for OpenAL, you would basically have this: FS-UAE -> OpenAL -> SDL -> ? -> USB soundcard Unless SDL supports a backend which OpenAL does not, the following audio path should be able to work just as well: FS-UAE -> OpenAL -> ? -> USB soundcard * Have you tried fiddling with .alsoftrc? * Do you know what audio backend / settings SDL uses on your system? Once FS-UAE 1.3.0 is released, we'll be able to see in the log what audio system OpenAL chooses on your system, and what other options are available. It will then also be possible to see (in the log) that the audio backend options in .alsoftrc are properly applied. |
Here is a pre-release (1.3.0test1) to help you debug the audio problem:
http://fengestad.no/fs-uae/files/fs-....0test1.tar.gz You can see in the changelog what audio backends are available on your system, and after making modifications to .alsoftrc, you can verify in the log file that the specified backend is actually used. |
All times are GMT +2. The time now is 02:55. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.