Re: [ANNOUNCE] OSS Proxy 1.2 using CUSE

From: Takashi Iwai
Date: Tue Apr 28 2009 - 12:42:35 EST


At Tue, 28 Apr 2009 18:01:08 +0200,
Miklos Szeredi wrote:
>
> >From the README:
>
> | ALSA contains OSS emulation but sadly the emulation is behind
> | multiplexing layer (which is in userland) which means that if your
> | sound card doesn't support multiple audio streams, only either one of
> | ALSA or OSS interface would be usable at any given moment.
>
> This seems to imply (and I was hoping very much) that this won't be a
> limitation of a CUSE based OSS Proxy. But at the moment I'm finding
> that while ossp is doing some playback other ALSA apps cannot start
> playback and vice versa.
>
> In fact if something else is playing though ALSA and I start a
> playback through ossp, then ossp will print some errors, return EIO
> and get into a bad state, that it recoveres from only by starting the
> playback twice more (after stopping the other playback through ALSA).

Are you using pulse plugin for ALSA, too?
Looks like ossp tries the pulseaudio. If you are using the native
ALSA, of course it'll block the access by PA...


Takashi

> ossp-padsp[mszeredi:24123] ERR: pa_stream_write() failed (Connection terminated)
> osspd ERR: failed to read_fill 16 bytes from fd 7 (Connection reset by peer)
> osspd WARN: S[1/24122] communication with slave failed (can't read reply: Connection reset by peer)
> E: socket-client.c: socket(): Address family not supported by protocol
> E: context.c: waitpid(): No child processes
> ossp-padsp[mszeredi:24130] ERR: failed to connect context, state=5 (Bad state)
>
> 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/