From alsa-devel-owner@alsa.jcu.cz  Fri Oct  9 10:03:48 1998
Received: from kotilo.saunalahti.fi (syrjala@kotilo.saunalahti.fi [195.74.0.5])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id KAA06427
	for <alsa-devel@jcu.cz>; Fri, 9 Oct 1998 10:02:39 +0200
Received: from localhost (syrjala@localhost) by kotilo.saunalahti.fi (8.8.5/8.8.3) with SMTP id LAA03742 for <alsa-devel@jcu.cz>; Fri, 9 Oct 1998 11:02:48 +0300 (EET DST)
Date: Fri, 9 Oct 1998 11:02:33 +0300 (EET DST)
From: =?iso-8859-1?Q?Ville_Syrj=E4l=E4?= <syrjala@sci.fi>
To: alsa-devel@jcu.cz
Subject: Re: ALSA support in mpg123
In-Reply-To: <Pine.LNX.4.00.9810082051450.1177-200000@pluto.andeby>
Message-ID: <Pine.SOL.3.96.981009105041.182A-100000@kotilo>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

On Thu, 8 Oct 1998, Anders Semb Hermansen wrote:

> Hello
> 
> I had some spare time the other day and I decided to make mpg123 work with
> ALSA. I don't know if there is any point in this, but now it's done
> anyway.
> 

I made a similiar thing some time ago. Never got around to posting it
though. I think your implementation is a bit cleaner than mine (propably
because I don't know much about programming)

> I have tested it with a SoundBlaster AWE 64 and 2.1.x kernel.
> I don't know if it compiles with 2.0.x, but I guess it should.
> 

My version is not that much different from yours so I think it should also
work with a Gus PnP and other IW boards as well. I use 2.0.x kernel.

> All comments and bugfixes are appriciated.

In my version I set up fragments as well. I used 4 fragments but as I
don't know that much about sound I don't know which value would be optimal 
(comments anyone). 

After mpg123 I did a similiar thing to sidplay which works well enough for
me. I also tried to port EsounD but I didn't get adequate performance. I
even experimented with different fragment values but the result was
clipping sound and a huge processor load. EsounD works well with the OSS 
emulation though.

> 
> Anders
> 
> --
> Anders Semb Hermansen
> E-Mail: <ahermans@vf.telia.no>
> 

---
Ville Syrjala
syrjala@sci.fi
http://www.sci.fi/~syrjala/


