Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE

From: Miklos Szeredi
Date: Wed Apr 22 2009 - 15:59:18 EST


On Tue, 14 Apr 2009, Tejun Heo wrote:
> OSSP 1.2 available. It now can do mmap for both playback and
> recording. All my quakes and dooms run and sound fine. :-)
>
> http://userweb.kernel.org/~tj/ossp/

Xmms with the OSS output plugin doesn't really work. It plays like 10
times too fast and the output is not really recognizable.

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
[...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().

Thanks,
Miklos
--
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/