29 April 2012, 12:55 | #1 |
Registered User
Join Date: Feb 2012
Location: Sicily/Palermo/Italy
Age: 46
Posts: 62
|
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? |
29 April 2012, 22:22 | #2 | |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
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: # Sets the backend driver list order, comma-seperated. Unknown backends and # duplicated names are ignored. Unlisted backends won't be considered for use # unless the list is ended with a comma (eg. 'oss,' will list OSS first # followed by all other available backends, while 'oss' will list OSS only). # Backends prepended with - won't be available for use (eg. '-oss,' will allow # all available backends except OSS). An empty list means the default. drivers = pulse,alsa,core,oss,solaris,sndio,mmdevapi,dsound,winmm,port,opensl,null,wave 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] ## device: # Sets the device name for the default playback device. #device = default Code:
fs_emu_audio_init OpenAL devices: - PulseAudio Default - ALSA Default - PortAudio Default - No Output openal default device: PulseAudio Default openal device opened: PulseAudio Default Last edited by FrodeSolheim; 29 April 2012 at 22:34. |
|
29 April 2012, 23:47 | #3 |
Registered User
Join Date: Feb 2012
Location: Sicily/Palermo/Italy
Age: 46
Posts: 62
|
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. |
30 April 2012, 23:22 | #4 | |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
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. Last edited by FrodeSolheim; 01 May 2012 at 00:18. |
|
01 May 2012, 14:25 | #5 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
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. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
G-FS-UAE (GUI/Frontend for Linux FS-UAE) | Speedvicio | support.FS-UAE | 12 | 05 November 2012 20:14 |
Configure USB joystic in e-uae (OSX & Linux) | Gaula92 | support.OtherUAE | 6 | 09 February 2010 19:51 |
E-UAE on Linux :) | digit01 | New to Emulation or Amiga scene | 23 | 05 May 2009 14:39 |
Can I use linux command under UAE? | BiL0 | New to Emulation or Amiga scene | 7 | 26 May 2006 18:16 |
Problems with UAE under Linux... | Lettmennli | support.WinUAE | 15 | 13 February 2002 22:09 |
|
|