delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/13/18:03:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <ralf DOT habacker AT freenet DOT de>
To: "Bob Clark" <clarkb AT fc DOT montgomerybell DOT com>,
Sven =?iso-8859-1?q?K=F6hler?= <skoehler AT upb DOT de>
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: <fc DOT 00870b20009fa8a000870b20009fa8a0 DOT 9fa998 AT fc DOT montgomerybell DOT com> <400432E5 DOT 7090707 AT upb DOT de> <fc DOT 00870b20009fc2ed00870b20009fa8a0 DOT 9fc563 AT fc DOT montgomerybell DOT com>
In-Reply-To: <fc.00870b20009fc2ed00870b20009fa8a0.9fc563@fc.montgomerybell.com>
MIME-Version: 1.0
Message-Id: <200401132358.53583.ralf.habacker@freenet.de>
X-IsSubscribed: yes
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 <skoehler AT upb DOT de> 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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019