Re: [pulseaudio-discuss] Wine 1.0_rc1 and pulseaudio

2008-05-15 Thread Colin Guthrie
Rafał Mużyło wrote:
> On Thu, May 15, 2008 at 03:24:26PM +0100, Colin Guthrie wrote:
>> There has been a lot of good information on this mailing list over the last 
>> couple weeks relating to wine and why it doesn't work with pulse.
> I've been kind of following this discusion. The patch is the result.
> 
>> From what I can tell two of them are valid and the third is invalid and 
>> relates to improper use of the ALSA api in wine which needs to be fixed. 
>> This relates to the assumption that snd_pcm_delay() will return 0 if there 
>> are no samples left to be played. This may never reach 0 with pulse as 
>> network delay/latency is also taken into consideration here. I've taken a 
>> very, very cursory look at your patch and I see you've commented out a call 
>> to snd_pcm_delay() so this ties in.
>>
> I didn't simply commented out the call. Look carefully.

Yeah like I say I only looked very quickly... was just providing hints 
rather than anything specific as I'm not a wine user myself...

>> In that case, I would strongly recommend using Gmane. (http://gmane.org) If 
>> you have an NNTP reader (e.g. Thunderbird) it's ace for keeping up with 
>> lots of projects and posting messages to mailing lists without ever 
>> officially "subscribing" in the classic sense... I use it for lot's of open 
>> sourcey mailing lists.
>>
> That's not the point. The point is I have to subscribe to post, but have
> no need for the most of other discussion.
> And CC me in a way that doesn't remove mailing list address, so I can
> simply hit reply.

That's exactly the point :)

If you look into it you'll see, but the idea is that you can read 
mailing lists very easily as a Newsgroup. When you want to post, you go 
through a Gmane gateway that allows you to post to 99% of mailing lists 
without signing up for them. This makes it very easy to post messages to 
groups you do not intend to follow closely. trust me it's good :)


Col

___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Wine 1.0_rc1 and pulseaudio

2008-05-15 Thread Rafał Mużyło
On Thu, May 15, 2008 at 03:24:26PM +0100, Colin Guthrie wrote:
> There has been a lot of good information on this mailing list over the last 
> couple weeks relating to wine and why it doesn't work with pulse.
I've been kind of following this discusion. The patch is the result.

> From what I can tell two of them are valid and the third is invalid and 
> relates to improper use of the ALSA api in wine which needs to be fixed. 
> This relates to the assumption that snd_pcm_delay() will return 0 if there 
> are no samples left to be played. This may never reach 0 with pulse as 
> network delay/latency is also taken into consideration here. I've taken a 
> very, very cursory look at your patch and I see you've commented out a call 
> to snd_pcm_delay() so this ties in.
>
I didn't simply commented out the call. Look carefully.
What I did was guess where would be the correct point for doing the call
that snd_pcm_delay was setting condition for and simply it that call
there. Now the sound seems to work correctly, but I'd like to hear a
second opinion from somebody, who actually know this stuff or at least
is better at hearing delays/crackling/other stuff then I am.

> In that case, I would strongly recommend using Gmane. (http://gmane.org) If 
> you have an NNTP reader (e.g. Thunderbird) it's ace for keeping up with 
> lots of projects and posting messages to mailing lists without ever 
> officially "subscribing" in the classic sense... I use it for lot's of open 
> sourcey mailing lists.
>
That's not the point. The point is I have to subscribe to post, but have
no need for the most of other discussion.
And CC me in a way that doesn't remove mailing list address, so I can
simply hit reply.
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Wine 1.0_rc1 and pulseaudio

2008-05-15 Thread letto
On Thursday 15 May 2008 13:14:11 Rafał Mużyło wrote:
> Just recently, I've noticed that sound in wine stopped working
> correctly.

Sorry for the slight offtopic, but i'd like to point out that even when 
selecting esd ,wine also doesn't work right. I've reported this in bug
http://www.pulseaudio.org/ticket/271 wich has been closed as apps were not 
using pa correctly, but i think that this is still a problem with the esd 
bindings.
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Wine 1.0_rc1 and pulseaudio

2008-05-15 Thread Colin Guthrie
Rafał Mużyło wrote:
> Just recently, I've noticed that sound in wine stopped working
> correctly.
> It took me that long, cause most things I ran in wine were using midi,
> which was working fine.
> It's the wave output that got broken.
> I have the standard pulseaudio setup from the page.
> I tried to see if can fix it and today finally came up with a patch (to
> wine), that works for me.
> However, it means only that I hear sound and it sounds about right, I'm
> not an audiophile.
> So, I'd like to hear if it works for anybody else.
> The patch is at http://bugs.winehq.org/show_bug.cgi?id=13204.

There has been a lot of good information on this mailing list over the 
last couple weeks relating to wine and why it doesn't work with pulse.

There are three outstanding bugs on the Alsa bugtracker (again, just see 
this list's archive for more info on which ones, I can't recall off-hand!)

 From what I can tell two of them are valid and the third is invalid and 
relates to improper use of the ALSA api in wine which needs to be fixed. 
This relates to the assumption that snd_pcm_delay() will return 0 if 
there are no samples left to be played. This may never reach 0 with 
pulse as network delay/latency is also taken into consideration here. 
I've taken a very, very cursory look at your patch and I see you've 
commented out a call to snd_pcm_delay() so this ties in.


> And please CC me, if you've got any comments, cause the very first thing
> I do after subscribing to mailing list, that I rarely ever be posting
> to, is switching off mail delivery.

In that case, I would strongly recommend using Gmane. (http://gmane.org) 
If you have an NNTP reader (e.g. Thunderbird) it's ace for keeping up 
with lots of projects and posting messages to mailing lists without ever 
officially "subscribing" in the classic sense... I use it for lot's of 
open sourcey mailing lists.

Col.

___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss