All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lennart Poettering <mznyfn@0pointer.de>
To: alsa-devel@alsa-project.org, pulseaudio-discuss@mail.0pointer.de
Subject: Re: [alsa-devel] Asynchronous notification in ALSA - I/O Plugin -	Pulseaudio
Date: Thu, 22 May 2008 00:24:22 +0200	[thread overview]
Message-ID: <20080521222422.GA12481@tango.0pointer.de> (raw)
In-Reply-To: <20894191.2311211189919317.JavaMail.root@intra>

On Mon, 19.05.08 12:38, Juha Erkkilä (juha.erkkila@opinsys.fi) wrote:

> I'm trying to get Abode Flash Player working properly on a thin client,
> with sound, using Pulseaudio as a sound server.  I'm using ALSA
> version 1.10.15 and Pulseaudio version 0.9.10 on Ubuntu Hardy, with
> Pulseaudio server running as a system-wide daemon on the thin client.
> I already outlined the issues on Pulseaudio mailing list on this post:
> https://tango.0pointer.de/pipermail/pulseaudio-discuss/2008-May/001793.html,
> see also Lennart Poettering's answer:
> https://tango.0pointer.de/pipermail/pulseaudio-discuss/2008-May/001796.html.
> 
> I feel the proper solution would involve writing support for
> asynchronous notification into ALSA library and I/O-plugin layer.

I disagree. (See the other mail I just posted)

> Currently, Pulse I/O-plugin does not work in the Flash case, because
> Flash requires the asynchronous API.  On the other hand, Pulse requires
> the I/O-plugin layer to work.  See the posts by Alexander Indenbaum,
> http://mailman.alsa-project.org/pipermail/alsa-devel/2008-April/007033.html,
> and Takashi Iwai,
> http://mailman.alsa-project.org/pipermail/alsa-devel/2008-April/007335.html,
> on this subject.
> 
> I tried to tackle this issue, and did get the signal handling code to
> call the Flash audio callback, but I'm new to both ALSA and Pulseaudio,
> and it appears there are some issues with it I don't fully understand.
> Thus I'm asking: are there any other people who have been looking into
> this, or anyone who can tell whether this is a sane thing to do or not,
> will it require some nasty hack, or can help with some pointers to
> relevant information?

Actually I have been looking into this.

This doesn't really help however, since there's a unfixable race
condition in Flash shutting down audio. It's not going to be much
better than the libflashsupport code I came up with.

Adobe was informed about this. And in Flash 10 they responded to the
criticism. Flash 10 doesn't use alsa async anymore and seems to work
fine on ioplug and thus on PA.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4

      parent reply	other threads:[~2008-05-21 22:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8280850.2291211189691895.JavaMail.root@intra>
2008-05-19  9:38 ` Asynchronous notification in ALSA - I/O Plugin - Pulseaudio Juha Erkkilä
2008-05-19 17:53   ` Pacho Ramos
2008-05-20 11:07   ` Takashi Iwai
2008-05-21  6:46     ` Juha Erkkilä
2008-05-21 10:47       ` Takashi Iwai
2008-05-21 22:29         ` [alsa-devel] " Lennart Poettering
2008-05-22 13:11           ` Colin Guthrie
2008-05-22 13:59             ` Lennart Poettering
2008-05-23  9:07               ` Colin Guthrie
2008-05-21 22:24   ` Lennart Poettering [this message]

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=20080521222422.GA12481@tango.0pointer.de \
    --to=mznyfn@0pointer.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=pulseaudio-discuss@mail.0pointer.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.