Date: Fri, 12 Mar 1999 12:09:09 PST From: "Michael Peletier" <mjpell@hotmail.com> To: freebsd-questions@FreeBSD.ORG Subject: /dev/audio IO BUG? Message-ID: <19990312200909.24210.qmail@hotmail.com>
next in thread | raw e-mail | index | archive | help
------=_NextPart_000_593db0c6_580912a$74f39be6 Content-type: text/plain Hello, I have searched the bug data baase any news groups for anything close to what I am seeing. I have a telephony application which I would like to relsease as soon as I can find out what is causing this. Anyway, I am using the OSS sound driver and FreeBSD 3.0. When I open the sound device, in read and write mode, I can do 1 read (record) then a write (play) this works fine. But when I go to read (record) a second time, read will consistently return 0 (the amount of data read) but I still can write (play) sound. To summerize, I can only do 1 read (record) and many writes (plays) with the device. As anyone heard of a problem similar? I am including the sound.log file which includes the dmesg output. I also have a small program that illustrates the problem. If anyone is interested I can e-mail it to you. I am sorry about writting a message to this group but, I can not release my program until I can find a cure to this. Maybe, there is a better group to mail to? -- Michael Pelletier Get Your Private, Free Email at http://www.hotmail.com ------=_NextPart_000_593db0c6_580912a$74f39be6 Content-Type: application/octet-stream; name="soundon.log" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="soundon.log" U3RhcnRpbmcgT1NTL0ZyZWVCU0QgIFRodSBNYXIgMTEgMTI6NDk6NTcgR01U IDE5OTkKMTI6NDlQTSAgdXAgNDAgc2VjcywgMCB1c2VycywgbG9hZCBhdmVy YWdlczogMC4wNywgMC4wMiwgMC4wMApNb2R1bGUgbG9hZGVkIGFzIElEIDEK PT09PT09PSBjb25maWcgPT09PT0gCiMgVXNlIHNvdW5kY29uZiB0byBlZGl0 IHRoaXMgZmlsZS4KL1NFQ1VSRUFVRElPIE9GRgovSVJRRVhDTFVERSAzIDQK L0RNQUVYQ0xVREUgMgotZ3VzcG5wcHJvICNHcmF2aXMgVWx0cmFzb3VuZCBQ blAgUHJvCi9QTlBERVYgR1JWMDAwMCBQMjIwIFAzMjAgUDMyYyBJMTEgRDUg RDcKR1VTUE5QIE9QTlAgUDIyMCBJMTEgRDUg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Ghy ZXNob2xkCmZkMDogMS40NE1CIDMuNWluCndkYzAgYXQgMHgxZjAtMHgxZjcg aXJxIDE0IG9uIGlzYQp3ZGMwOiB1bml0IDAgKHdkMCk6IDxRVUFOVFVNIEZJ UkVCQUxMIFNUMy4yQT4Kd2QwOiAzMDc5TUIgKDYzMDYwNDggc2VjdG9ycyks IDYyNTYgY3lscywgMTYgaGVhZHMsIDYzIFMvVCwgNTEyIEIvUwp3ZGMwOiB1 bml0IDEgKHdkMSk6IDxXREMgQUMyMzQwSD4Kd2QxOiAzMjVNQiAoNjY2NjAw IHNlY3RvcnMpLCAxMDEwIGN5bHMsIDEyIGhlYWRzLCA1NSBTL1QsIDUxMiBC L1MKd2RjMSBhdCAweDE3MC0weDE3NyBpcnEgMTUgb24gaXNhCndkYzE6IHVu aXQgMCAoYXRhcGkpOiA8Rlg4MTBUNC9hMDM+LCByZW1vdmFibGUsIGludHIs IGRtYSwgaW9yZGlzCnd0MCBub3QgZm91bmQgYXQgMHgzMDAKbWNkMCBub3Qg Zm91bmQgYXQgMHgzMDAKbWF0Y2RjMCBub3QgZm91bmQgYXQgMHgyMzAKc2Nk MCBub3QgZm91bmQgYXQgMHgyMzAKZXAwIG5vdCBmb3VuZCBhdCAweDMxMAph ZHYwIG5vdCBmb3VuZCBhdCAweDMzMApidDAgbm90IGZvdW5kIGF0IDB4MTM0 CmFoYTAgbm90IGZvdW5kIGF0IDB4MTM0Cm5weDAgb24gbW90aGVyYm9hcmQK bnB4MDogSU5UIDE2IGludGVyZmFjZQpjaGFuZ2luZyByb290IGRldmljZSB0 byB3ZDBzMWEKT1NTL0ZyZWVCU0QgbG9hZGluZywgYWRkcmVzcyA9IGYzZWEy MDIwCg== ------=_NextPart_000_593db0c6_580912a$74f39be6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990312200909.24210.qmail>