Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 26 Apr 2001 10:11:53 +0100 (GMT Daylight Time) From: "Sagar R. Shah" To: Andy Younger cc: Subject: Re: mpg123 patch In-Reply-To: Message-ID: X-X-Sender: srs29 AT imap DOT hermes DOT cam DOT ac DOT uk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 26 Apr 2001, Andy Younger wrote: > Nope, > > the /dev/dsp device is one of the services that the Open Sound System (OSS) > provides on linux/FreeBSD etc. That functionality is partially emulated in > cygwin now. > > /usr/include/sys/soundcard.h > > is the header file, that contains all the appropriate definitions, ioctl's > etc. I was hoping you would say something like that > With this patch, mpg123 should just compile & work. Fingers crossed :-) > > Let us know how you get on. followed the same instructions as before it's looking for machine/soundcard.h (well audio_oss is) rather than sys/soundcard.h i don't know much about c at all, but possibly do u need to modify your patch to correct this ifdef block in audio_oss.c ? ====== #ifdef LINUX #include #elif defined(__bsdi__) #include #else #include #endif ======= I was a bit lazy, so i just replaced the whole #ifdef block with just: #include after that it compiled just fine and plays just fine from what i can tell :-) If you're agreeable i could post the fixed version of your patch up to the little cygwin section on my website. Thanks for the quick repsonse. Sagar -------------------------------------------------------------------------- Sagar R. Shah www: http://www.netnexus.co.uk/ Sidney Sussex College www: http://www.netnexus.uklinux.net/ Cambridge, CB2 3HU -------------------------------------------------------------------------- -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple