From owner-freebsd-isdn Sun Mar 22 14:27:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA16600 for freebsd-isdn-outgoing; Sun, 22 Mar 1998 14:27:43 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from wes2.limmat.ch (ns.limmat.ch [193.73.213.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA16595 for ; Sun, 22 Mar 1998 14:27:40 -0800 (PST) (envelope-from mosh@wes2.limmat.ch) Received: from darmok (zhwbs-E1-06.limmat.ch [194.191.121.206]) by wes2.limmat.ch (8.8.5/8.8.5) with SMTP id XAA00419 for ; Sun, 22 Mar 1998 23:27:36 +0100 (MET) Date: Sun, 22 Mar 1998 23:27:24 +0100 (MET) From: Dennis Michl Subject: Re: AM in C To: freebsd-isdn@FreeBSD.ORG Reply-To: Dennis Michl Message-ID: <980322232724.227AAFxI.mosh@darmok> In-Reply-To: <199803101047.CAA04741@hub.freebsd.org> Mime-Version: 1.0 (Generated by Eloquent) Content-Type: text/plain; charset=US-ASCII X-Address: 21 Fabrikstrasse, ZH 8005 Zurich, Switzerland X-Phone: Home +41 1 440 06 06, Fax +41 1 440 06 05, Work +41 1 239 93 64 X-URL: http://kino.ch/ X-Mailer: Eloquent[2.01]; Eloquent is a Trademark of Take 3 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- David, >Did you try this at home? yes, I did. I like the idea of converting the raw audio file to .snd in order to listen to it. What bothers me though is that both in the C program as well as in the Shell script the outgoing message is heard. Who wants that? The recording should start only after the message is played. I tried some things to start the recording later, but none worked: * sleep (duration of OGM + duration of beep) * cat /dev/null > $DEVICE in order to flush its contents * dd in background, "wait", dd from $DEVICE Any ideas? MoSH -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: next iQEVAwUBNRWP0h6WZntgURpdAQFkTAf+MKlsKh5UCgXYnaQGvHhIUbAWZpa8f+3P x9uWk3Oud70KpoB3BpoNQ0NmNT465JM4XDducsTD0TuSxLgRlaeVJfivq1tCrzrQ fwwu65EHbCqWeR5OcZJV2h0meqQ64sDporEfRO5GmJZXTIIM20nMRYmQCdTRDrWw lnahGqsZaGvCVKfsEA+6duFAjYB2P0o2nhaRjt0lj6SsEOUaqEAah7KtOU876XMi w1H6OaGibQ5zuyQVcGatjTEI0cIcxq5dO0F8HE0UQCxGR/Iq+qSISmMkj3NJNHu/ 3PdfsooujcEK+mi/PsSP+2SscTq/5kBzntoPaE8nPZ6ILsl2OJe+Ig== =TdvM -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message