Re: ALSA implementation

2006-09-24 Thread Molle Bestefich
James Courtier-Dutton wrote: The technically best solution is for the application to do the resampling before passing it to the sound card, so any effort to do it in the sound drivers is always going to be sub-optimal, with sound quality suffering. I still fail to see how that's the case for Wi

Re: ALSA implementation

2006-09-21 Thread Jan Zerebecki
On Mon, Sep 18, 2006 at 01:58:59AM +0200, Jan Zerebecki wrote: > I explained in a different mail to this thread what bugs are in > winealsa. (Archive link to that mail is: > http://www.winehq.org/pipermail/wine-devel/2006-September/050826.html ) > It seems I just found out how to fix the other win

Re: ALSA implementation

2006-09-21 Thread James Courtier-Dutton
Molle Bestefich wrote: James Courtier-Dutton wrote: I have not looked at the wine source code lately, but I would advise you that it would be sensible to talk to the sound card at only the 48000 Hz rate. alsa-lib does do resampling currently, but it has some importance constraints that I thin

Re: ALSA implementation

2006-09-21 Thread Eric Pouech
Jan Zerebecki wrote: On Wed, Sep 20, 2006 at 05:55:03PM +0200, Marcus Meissner wrote: On Wed, Sep 20, 2006 at 05:54:06PM +0200, Tomas Carnecky wrote: Jan Zerebecki wrote: As explained in the mail refrenced above the main problem is that in wine the alsa callback signal (that we

Re: ALSA implementation

2006-09-21 Thread Molle Bestefich
James Courtier-Dutton wrote: I have not looked at the wine source code lately, but I would advise you that it would be sensible to talk to the sound card at only the 48000 Hz rate. alsa-lib does do resampling currently, but it has some importance constraints that I think are incompatible with

Re: ALSA implementation

2006-09-20 Thread James Courtier-Dutton
Jan Zerebecki wrote: On Mon, Sep 18, 2006 at 01:54:26AM -0400, Aaron Slunt wrote: Jan, could you please clarify what you mean by an fd-based method? Thanks. On http://alsa-project.org/alsa-doc/alsa-lib/pcm.html search for the headline "Event waiting routines". That is what I meant with fd-base

Re: ALSA implementation

2006-09-20 Thread Jan Zerebecki
On Wed, Sep 20, 2006 at 05:55:03PM +0200, Marcus Meissner wrote: > On Wed, Sep 20, 2006 at 05:54:06PM +0200, Tomas Carnecky wrote: > > Jan Zerebecki wrote: > > >As explained in the mail refrenced above the main problem is that > > >in wine the alsa callback signal (that we currently use) won't > >

Re: ALSA implementation

2006-09-20 Thread Marcus Meissner
On Wed, Sep 20, 2006 at 05:54:06PM +0200, Tomas Carnecky wrote: > Jan Zerebecki wrote: > >As explained in the mail refrenced above the main problem is that > >in wine the alsa callback signal (that we currently use) won't > >work properly without special care, but the fd based method (for > >exampl

Re: ALSA implementation

2006-09-20 Thread James Courtier-Dutton
Aaron Slunt wrote: Jan Zerebecki wrote: On Sun, Sep 17, 2006 at 05:26:12PM +0100, James Courtier-Dutton wrote: I am an ALSA developer, and at one point tried to fix the wine alsa support. I found the wine source code very difficult to read and understand. Windows seems to have so many differ

Re: ALSA implementation

2006-09-20 Thread Tomas Carnecky
Jan Zerebecki wrote: As explained in the mail refrenced above the main problem is that in wine the alsa callback signal (that we currently use) won't work properly without special care, but the fd based method (for example with select) should work as expected. Why won't it work without special

Re: ALSA implementation

2006-09-20 Thread Jan Zerebecki
On Mon, Sep 18, 2006 at 01:54:26AM -0400, Aaron Slunt wrote: > Jan, could you please clarify what you mean by an fd-based method? Thanks. On http://alsa-project.org/alsa-doc/alsa-lib/pcm.html search for the headline "Event waiting routines". That is what I meant with fd-based method. Below that is

Re: ALSA implementation

2006-09-20 Thread Jan Zerebecki
On Mon, Sep 18, 2006 at 02:12:02PM +0200, Tomas Carnecky wrote: > Jan Zerebecki wrote: > >To fix bug #4093 we need to replace the currently used signal > >callback method (very complex to make signals work properly [in > >Wine], thus we should avoid it) with I guess a fd based method > >for example

Re: ALSA implementation

2006-09-18 Thread Tomas Carnecky
Jan Zerebecki wrote: To fix bug #4093 we need to replace the currently used signal callback method (very complex to make signals work properly [in Wine], thus we should avoid it) with I guess a fd based method for example with select. The alsa-api documentation about this looks pretty usable.

Re: ALSA implementation

2006-09-17 Thread Aaron Slunt
Jan Zerebecki wrote: On Sun, Sep 17, 2006 at 05:26:12PM +0100, James Courtier-Dutton wrote: I am an ALSA developer, and at one point tried to fix the wine alsa support. I found the wine source code very difficult to read and understand. Windows seems to have so many different sound APIs, I d

Re: ALSA implementation

2006-09-17 Thread Jan Zerebecki
On Sun, Sep 17, 2006 at 05:26:12PM +0100, James Courtier-Dutton wrote: > I am an ALSA developer, and at one point tried to fix the wine alsa > support. I found the wine source code very difficult to read and > understand. Windows seems to have so many different sound APIs, I did > not really kno

Re: ALSA implementation

2006-09-17 Thread James Courtier-Dutton
Aaron Slunt wrote: Hi, I talked on #winehq in irc about how horribly alsa is implemented right now. I was told that winmm would need a complete re-write and the dsound needs some changes as well. My question is: anybody here who's familiar with all of the changes that need to be made to get

Re: ALSA implementation

2006-09-12 Thread Jan Zerebecki
On Fri, Sep 08, 2006 at 04:43:18PM -0400, Aaron Slunt wrote: > I talked on #winehq in irc about how horribly alsa is implemented right > now. I was told that winmm would need a complete re-write and the dsound > needs some changes as well. The alsa specific problems should be fixeable without to

Re: ALSA implementation

2006-09-12 Thread Eric Pouech
e DLL, and abstracting a bit the implementation of the interface but it will not modify the core of the ALSA implementation, nor any issues related with current code My question is: anybody here who's familiar with all of the changes that need to be made to get alsa working properly? if

Re: ALSA implementation

2006-09-12 Thread Eric Pouech
Tom Spear wrote: Eric Pouech is the original author, so if he still hangs around here he would be your best bet. for the sake of record, I'm not the alsa driver author (at least not the current 0.9x / 1.y) A+

Re: ALSA implementation

2006-09-08 Thread Tom Wickline
On 9/8/06, Tom Spear <[EMAIL PROTECTED]> wrote: Eric Pouech is the original author, so if he still hangs around here he would be your best bet. Robert Reif has done extensive work on dsound as well. On 9/8/06, Aaron Slunt < [EMAIL PROTECTED]> wrote: > Hi, > > I talked on #winehq in irc abou

Re: ALSA implementation

2006-09-08 Thread Tom Spear
Eric Pouech is the original author, so if he still hangs around here he would be your best bet.On 9/8/06, Aaron Slunt < [EMAIL PROTECTED]> wrote:Hi,I talked on #winehq in irc about how horribly alsa is implemented right now. I was told that winmm would need a complete re-write and the dsoundneeds s

ALSA implementation

2006-09-08 Thread Aaron Slunt
Hi, I talked on #winehq in irc about how horribly alsa is implemented right now. I was told that winmm would need a complete re-write and the dsound needs some changes as well. My question is: anybody here who's familiar with all of the changes that need to be made to get alsa working proper