[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fluid-dev] multiple sound cards
From: |
Garett Shulman |
Subject: |
Re: [Fluid-dev] multiple sound cards |
Date: |
Fri, 18 Jul 2003 19:57:10 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030527 Debian/1.3.1-2 |
Markus & Josh, Thank you very much for your replies. The -o
audio.alsa.device=hw:1 is exactly what I needed to know. However, my
m-audio delta 2496 card seems to give fluidsynth trouble with this. My
SB Live 512 works fine with this syntax. I loaded the ice1712 module
first so that the 2496 will be card0. with just -alsa fluidsynth loads
fine. however, with -alsa -o audio.alsa.device=hw:0 fluidsynth exits
with: fluidsynth: error: Failed to find a workable audio format Failed
to create the audio driver. -alsa -o audio.alsa.device=hw:1 works fine.
With just the -alsa fluidsynth loads with: ** Using format s16, rw,
interleaved. I will include the corosponding lines of straces for the
mentioned commands for the lines just prior to fluidsynth crashing.
Again, I REALLY appreciate any suggestions anyone might have. Thanks a
lot. -Garett
fluidsynth -alsa -o audio.alsa.device=hw:0
open("/dev/snd/controlC0", O_RDONLY) = 4
close(4) = 0
open("/dev/snd/controlC0", O_RDWR) = 4
ioctl(4, USBDEVFS_CONTROL, 0xbffff08c) = 0
ioctl(4, 0x40045532, 0xbffff0b4) = 0
open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK) = 5
close(4) = 0
ioctl(5, APM_IOC_STANDBY, 0xbfffef80) = 0
fcntl64(5, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
ioctl(5, AGPIOC_INFO, 0xbfffef7c) = 0
ioctl(5, APM_IOC_SUSPEND, 0xbfffef78) = 0
old_mmap(NULL, 4096, PROT_READ, MAP_SHARED, 5, 0x80000000) = 0x4005c000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0x81000000) =
0x4005d000
ioctl(5, 0xc25c4110, 0xbffff170) = 0
ioctl(5, 0xc25c4110, 0xbffff170) = 0
ioctl(5, 0xc25c4110, 0xbffff170) = 0
write(2, "fluidsynth: error: Failed to fin"..., 58) = 58
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x4005e000
write(1, "Failed to create the audio drive"..., 34) = 34
munlock(0x40309008, 19063344) = 0
munmap(0x40309000, 19066880) = 0
munmap(0x40274000, 610304) = 0
munmap(0x4005e000, 4096) = 0
exit_group(0) = ?
fluidsynth -alsa
open("/dev/snd/controlC0", O_RDONLY) = 4
close(4) = 0
open("/dev/snd/controlC0", O_RDWR) = 4
ioctl(4, USBDEVFS_CONTROL, 0xbfffef7c) = 0
ioctl(4, 0x40045532, 0xbfffefa4) = 0
open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK) = 5
close(4) = 0
ioctl(5, APM_IOC_STANDBY, 0xbfffee70) = 0
fcntl64(5, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
ioctl(5, AGPIOC_INFO, 0xbfffee6c) = 0
ioctl(5, APM_IOC_SUSPEND, 0xbfffee68) = 0
old_mmap(NULL, 4096, PROT_READ, MAP_SHARED, 5, 0x80000000) = 0x4005c000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0x81000000) =
0x4005d000
ioctl(5, 0xc25c4110, 0xbfffee30) = 0
ioctl(5, 0xc25c4110, 0xbfffea50) = 0
ioctl(5, 0xc25c4110, 0xbfffea50) = 0
ioctl(5, 0xc25c4110, 0xbfffee30) = 0
ioctl(5, 0xc25c4110, 0xbfffea50) = 0
ioctl(5, 0xc25c4110, 0xbfffea50) = 0
ioctl(5, 0xc25c4110, 0xbfffee30) = 0
ioctl(5, 0xc25c4110, 0xbfffeb80) = 0
ioctl(5, 0xc25c4110, 0xbfffe7a0) = 0
ioctl(5, 0xc25c4110, 0xbfffe7a0) = 0