From: Tejun Heo <teheo@suse.de>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: linux-kernel@vger.kernel.org, greg@kroah.com, tiwai@suse.de,
fuse-devel@lists.sourceforge.net
Subject: Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE
Date: Sat, 20 Jun 2009 15:13:36 +0900 [thread overview]
Message-ID: <4A3C7E10.2050806@suse.de> (raw)
In-Reply-To: <49EFAF4D.2090509@suse.de>
Hello, Mikos.
Tejun Heo wrote:
> Hello, Miklos.
>
> Miklos Szeredi wrote:
>> Xmms with the OSS output plugin doesn't really work. It plays like 10
>> times too fast and the output is not really recognizable.
>
> Hmm...
>
>> This is the debug output of osspd:
>>
>> osspd: OSS Proxy v1.2 (C) 2008-2009 by Tejun Heo <teheo@suse.de>
>> osspd: Creating dsp (14:3), adsp (14:12), mixer (14:0)
>> osspd DBG0: CREATE mixer(12799)
>> osspd DBG0: S[1/16744] CREATE slave=16745 /store/git/ossp/ossp-padsp
>> osspd DBG0: S[1/16744] client=16744 cmd=7:8 notify=9:10
>> ossp-padsp[mszeredi:16745] DBG0: requested frag_size (4096) is smaller than mini
>> mum (4412)
>> ossp-padsp[mszeredi:16745] DBG0: CREATE PLAY s16le 2ch 44100Hz fsz=4412:25
>> ossp-padsp[mszeredi:16745] DBG0: tlen=131072:743 max=139896:793 pre=8192:46
>> ossp-padsp[mszeredi:16745] DBG0: u_sd=0 u_fsz=4096:23 u_maxf=32
>> osspd DBG0: S[1/16744] volume set=-1/-1:-1/-1 get=63/63:0/0
>> ossp-padsp[mszeredi:16745] DBG0: PLAY stream underrun
>> ossp-padsp[mszeredi:16745] DBG0: PLAY stream underrun
>> ossp-padsp[mszeredi:16745] DBG0: PLAY stream underrun
>> ossp-padsp[mszeredi:16745] DBG0: PLAY stream underrun
>> ossp-padsp[mszeredi:16745] DBG0: PLAY stream underrun
>> ossp-padsp[mszeredi:16745] DBG0: PLAY stream underrun
Finally tried xmms. It looks like a bug in pulseaudio. pulseaudio is
throwing away data buffer after playing only fraction of it.
Interestingly, this can be avoided by having pavucontrol or other play
stream running. Can you please verify that the problem goes away if
you have pavucontrol running? There's also another problem with xmms.
The current version of ossp blocks mixer commands till the r/w
commands are complete and this makes xmms's UI stutter a bit. I
modified osspd to lazy execute mixer commands while responding
immediately to the requester. I'm testing it now and with pavucontrol
open, xmms works quite nicely.
Thanks.
--
tejun
next prev parent reply other threads:[~2009-06-20 6:13 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-28 19:05 [ANNOUNCE] OSS Proxy using CUSE Tejun Heo
2008-08-28 20:01 ` Adrian Bunk
2008-08-28 22:18 ` Greg KH
2008-08-28 23:05 ` H. Peter Anvin
2008-08-28 23:14 ` Greg KH
2008-08-28 23:38 ` H. Peter Anvin
2008-08-28 23:32 ` Alan Cox
2008-08-29 1:33 ` Tejun Heo
2008-08-29 6:50 ` Adrian Bunk
2008-08-29 7:26 ` Tejun Heo
2008-08-29 8:09 ` Miklos Szeredi
2008-08-29 8:21 ` Adrian Bunk
2008-08-29 8:28 ` Tejun Heo
2008-09-02 15:25 ` Pavel Machek
2008-11-27 20:59 ` Jan Engelhardt
2008-11-28 2:23 ` Tejun Heo
2008-11-28 11:35 ` Jan Engelhardt
2008-11-28 12:02 ` Tejun Heo
2008-11-28 12:56 ` Jan Engelhardt
2008-08-29 10:40 ` Takashi Iwai
2008-08-29 10:47 ` Tejun Heo
2009-04-14 2:46 ` [ANNOUNCE] OSS Proxy 1.2 " Tejun Heo
2009-04-22 19:58 ` Miklos Szeredi
2009-04-22 23:59 ` Tejun Heo
2009-06-20 6:13 ` Tejun Heo [this message]
2009-06-20 6:37 ` Tejun Heo
2009-04-28 16:01 ` Miklos Szeredi
2009-04-28 16:42 ` Takashi Iwai
2009-04-28 17:17 ` Miklos Szeredi
2009-04-28 19:32 ` Takashi Iwai
2009-04-28 20:12 ` Miklos Szeredi
2009-04-28 21:34 ` Takashi Iwai
2009-04-29 7:13 ` Miklos Szeredi
2009-04-28 23:35 ` Tejun Heo
2009-04-29 7:20 ` Miklos Szeredi
2009-04-29 7:46 ` Tejun Heo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A3C7E10.2050806@suse.de \
--to=teheo@suse.de \
--cc=fuse-devel@lists.sourceforge.net \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=miklos@szeredi.hu \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox