Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE

From: Tejun Heo
Date: Wed Apr 22 2009 - 20:59:43 EST


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@xxxxxxx>
> 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

Hmmm..

> [...message repeated zillion times]
>
> I guess this has something to do with the too small frag size, but
> couldn't figure out how all this works in prepare_streams() and
> padsp_write().

Yeah, it's a bit convoluted. I'll try xmms.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/