Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: Ralf Habacker To: "Bob Clark" , Sven =?iso-8859-1?q?K=F6hler?= Subject: Re: playing ogg files in cygwin Date: Tue, 13 Jan 2004 23:58:53 +0100 User-Agent: KMail/1.5.4 Cc: cygwin AT cygwin DOT com References: <400432E5 DOT 7090707 AT upb DOT de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Message-Id: <200401132358.53583.ralf.habacker@freenet.de> X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i0DN3eMJ026481 On Tuesday 13 January 2004 19:51, Bob Clark wrote: > Sven Köhler writes: > >i also think, that cygwin doesn't have any OSS emulation, does it? it have using /dev/dsp. For the kde-3.1.4 cygwin port I've tried to build ogg123 and it does have problems with playing sounds using /dev/dsp. ogg123 uses threads for buffering and playing sounds and it seems to me that there are the problems. I had not enough time to find the problem, so I stopped this port yet. /dev/dsp has directly wave support, although the device handler does play the wave header, which result ins some start noice on playing. (This seems a known issue, because i've found a note in fhandler_dsp.cc about this problem) Additional we have compiled arts the unix related kde sound system using /dev/dsp successfully, altough there are latency problems caused by the fixed 16KB buffer size, which couldn't be changed by an application. A buffer size of 1KB would be better for our cases, but this value would be also fixed. I have prepared a patch for changing the buffer size, but hadn't found time to check this very deeply, so it may be need some more time for contributing, but if someone is interested to get this let me know. Ralf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/