Bugs item #1620896, was opened at 2006-12-22 09:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=591456&aid=1620896&group_id=89802

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: ocaml-alsa: Alsa.Unknown_error(16)

Initial Comment:
Hello,

I would like to use ocaml for an audio pet project doing
simultaneous playing and recording of sound.
So I've tested ocaml-alsa/examples/recorder -l, but it
fail with:

[EMAIL PROTECTED]:~/src/ocaml/ocaml-alsa-0.1.0/examples$ ./recorder -l
Fatal error: exception Alsa.Unknown_error(16)

strace:

(snip)
open("/dev/snd/pcmC0D0c", O_RDWR|O_NONBLOCK) = 4
close(3)                                = 0
ioctl(4, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0xbf921b34) = 0
fcntl64(4, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
ioctl(4, AGPIOC_INFO, 0xbf921ce0)       = 0
ioctl(4, AGPIOC_RELEASE or APM_IOC_SUSPEND, 0xbf921cd8) = 0
mmap2(NULL, 4096, PROT_READ, MAP_SHARED, 4, 0x80000) = 0xb7f23000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0x81000) = 0xb7f22000
fcntl64(4, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(4, F_SETFL, O_RDWR)             = 0
ioctl(4, 0xc25c4110, 0x8099700)         = 0
ioctl(4, 0xc25c4110, 0x8099700)         = 0
ioctl(4, 0xc25c4110, 0x8099700)         = 0
ioctl(4, 0xc25c4110, 0x8099700)         = 0
ioctl(4, 0xc25c4110, 0x8099700)         = 0
ioctl(4, 0xc25c4110, 0x8099700)         = 0
ioctl(4, 0xc25c4110, 0x8099700)         = 0
ioctl(4, 0xc25c4110, 0x8099700)         = 0
ioctl(4, 0xc25c4110, 0x8099700)         = 0
ioctl(4, 0xc25c4111, 0x8099700)         = 0
ioctl(4, 0xc0684113, 0xbf921fc4)        = 0
ioctl(4, 0x4140, 0x1)                   = 0
ioctl(4, 0x4140, 0x1)                   = 0
ioctl(4, 0x800c4151, 0xbf922004)        = 0
ioctl(4, 0x4140, 0xb7e9760b)            = -1 EBUSY (Device or resource busy)
write(2, "Fatal error: exception Alsa.Unkn"..., 46Fatal error: exception 
Alsa.Unknown_error(16)
) = 46
exit_group(2)                           = ?
Process 13076 detached




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=591456&aid=1620896&group_id=89802

Répondre à