From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: GStreamer xwidget Date: Fri, 19 Nov 2021 15:45:47 +0200 Message-ID: <83bl2guulw.fsf@gnu.org> References: <87ee7cq2mu.fsf.ref@yahoo.com> <87ee7cq2mu.fsf@yahoo.com> <87lf1kyaae.fsf@gnus.org> <87wnl4ofu5.fsf@yahoo.com> <87czmwy8f7.fsf@gnus.org> <87r1bcodli.fsf@yahoo.com> <83lf1kuwkg.fsf@gnu.org> <877dd4mgyd.fsf@yahoo.com> <83ee7cuvos.fsf@gnu.org> <87h7c8l181.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21677"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 19 14:48:06 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mo4FK-0005R5-B4 for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Nov 2021 14:48:06 +0100 Original-Received: from localhost ([::1]:50018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mo4FJ-0002kp-2l for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Nov 2021 08:48:05 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo4DB-0008G8-01 for emacs-devel@gnu.org; Fri, 19 Nov 2021 08:46:06 -0500 Original-Received: from [2001:470:142:3::e] (port=32874 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo4DA-0007U7-5m; Fri, 19 Nov 2021 08:45:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=A85c/d9XvMi+rQJ7VWjPc4gT7CJ7vnsQdx2PkyL7u4o=; b=bixTuoOpt5OZ YEG7GbLz5jdVUfwiEhgtJBxEcPaQq+343L+0G3VlpDi6rbVGb8QWsfRm0p1GoEq48BjQ5jbSTaCQK q8GUIqwgY97oe/w0PHzSZGpgoPOzRwUjTHnBmQLePtI23kfcF5XI5epbC1z99HmLl0oA2Pdw1ogzP CmSDuHzjAgAk7GuiP+M3JFwF+SMHw0uRAuC3AME61Cchtd52MwcWEl8c+RMgOmgA6T/QsXRwYFgjT Z24zgAO5tOFVf3sGIfNxbwRhHo0gGSmaKAQ3DxpaFdZLd325IKVbefoXHgUJwh8nGhinfTdnqtQtm /FOM1XEtkJlsyQ6EgpOP0A==; Original-Received: from [87.69.77.57] (port=1722 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo4D7-0006L9-ST; Fri, 19 Nov 2021 08:45:50 -0500 In-Reply-To: <87h7c8l181.fsf@yahoo.com> (message from Po Lu on Fri, 19 Nov 2021 21:33:02 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:279761 Archived-At: > From: Po Lu > Cc: larsi@gnus.org, emacs-devel@gnu.org > Date: Fri, 19 Nov 2021 21:33:02 +0800 > > Eli Zaretskii writes: > > > No, I mean stopping it so that it can never be resumed. > > Ah, I understand now. That would be `xwidget-kill'. Then perhaps mention that in the doc string? > > Well, I hope it will be. Right now, even playing an audio in Emacs is > > very restrictive: it locks up the main thread until the audio finishes > > playing. That's not appropriate for a modern platform, so I wish we > > could have a better UI and UX. > > GStreamer has an asynchronous interface, where the playback is performed > in separate threads, and events are posted to the main GLib event loop > which is run by the code in `xgselect.c'. Sure, I meant to have user commands that take advantage of that.