Date: Mon, 21 Jul 1997 08:39:57 +0200 (MET DST) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: oliver.fromme@heim3.tu-clausthal.de (Oliver Fromme) Cc: multimedia@FreeBSD.ORG Subject: Re: dma handling in the sound driver Message-ID: <199707210639.IAA20704@labinfo.iet.unipi.it> In-Reply-To: <199707210453.GAA13291@elch.heim4.tu-clausthal.de> from "Oliver Fromme" at Jul 21, 97 06:53:33 am
next in thread | previous in thread | raw e-mail | index | archive | help
> Hello, > > Just a small comment/question... > > I am currently facing the following problem: I am writing a > frontend for mpg123 (MPEG audio player). When the user > presses the Pause/Stop button (or Fast Forward or whatever), > there's always a small delay -- I guess it is because of that > 1/2 second DMA buffer. However, I'd like the audio to stop ok so you would need a "suspend" ioctl which would immediately block io, and report the amount of undelivered bytes so that play can rewind before resuming ? Or you are just happy by suspending the transfer and restarting it with the data left to transfer ? Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707210639.IAA20704>