From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Vendoring code in a (Non?)GNU ELPA package Date: Wed, 3 Jan 2024 20:56:11 -0800 Message-ID: References: <871qb83teq.fsf@dsemy.com> <87frzl3ars.fsf@gmail.com> <87v88dl0ji.fsf@dsemy.com> <875y0bhrak.fsf@dsemy.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21601"; mail-complaints-to="usenet@ciao.gmane.io" Cc: iarchivedmywholelife@gmail.com, emacs-devel@gnu.org To: Daniel Semyonov , Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 04 05:56:38 2024 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 1rLFmY-0005RO-KP for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Jan 2024 05:56:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLFmD-00040A-8o; Wed, 03 Jan 2024 23:56:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rLFmC-0003zj-1o for emacs-devel@gnu.org; Wed, 03 Jan 2024 23:56:16 -0500 Original-Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rLFmA-0001fS-9y; Wed, 03 Jan 2024 23:56:15 -0500 Original-Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2cd0c151cdcso1696781fa.2; Wed, 03 Jan 2024 20:56:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704344172; x=1704948972; darn=gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=1vo3U5kw30FdDLkCIRXqb0Q8Pd6LG/z1vBZfwX5o5fY=; b=RaUyMCukoFEaus9jFeNqUOPL6Cd/kf6FYhpVXPbGlZh+MrnlB4YACIjoVQX9dIg1Jq hFN94YoJxPfALlPZk3FbdkgO+WIX3T1sq/nZHXUcCFVn35d3CNUnNbOWjoH3JGcRbJHC BCe/961rDbL5lyM9RIbfCSRB4TMDgZNLzxnS0NdRx0wyHr8MpFDAhvu5IGBRaTus0BuS x4lRPz6Ol0y73mBdP0j9qjJ+l1hziWADMcV8JIu1fgPoCb65o0xxMHe0wbC8sWH9B/+S a9kUGNt+lHjm8hHaF6rB5n2kwelSNVnNsM3ctP5uBITJS6UrniVUs3jUqrXxlWTZcs/N UYGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704344172; x=1704948972; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1vo3U5kw30FdDLkCIRXqb0Q8Pd6LG/z1vBZfwX5o5fY=; b=sldcPhCeM7k/Cc2Tqyi8lc4+EOhLqsu/STvDeqSoSqoOLLpdIhmHLPp9WwX7O6rxqk STr1fx0da84EEuyozDc88JPJBYLc1caXNSYMTTGXtE8tPO3O1FJdqv6Y/dm3M7eNaW9m 5Py19SzltbpKTV4lbeJLqaYtu6mp2iNf7/64l6gzjA8xL/gJV18YeUJONoTVJzcQ4HQK a1ov2rkIzsRLrH9PXpC/+Pb6e3XuzBN1+fWR2UIZh8d8yWqAYm6Na5Aw0VDnNm894+zv pgPOG9OyG/sNKIFUmsRESo790E98CoFPxGyfY1+W89cX9Enqc7oj1BR9oZTn/8/pmxw4 N6ZQ== X-Gm-Message-State: AOJu0YwSiW4MN3RKhhe69F9FraLw/9arINoGtpbpj3cV7O0dsTFy/YX2 gDT1/AogpbERYjaBnkze/Jl7Y6YdxLuEmkY5eQJVVg0r X-Google-Smtp-Source: AGHT+IFwSZv+08niyFFNE7/N9Yzi3YT09Oz4zseeF5Y3wcRevm6W+s31SVo0XLOhGFyTeZiDLKp+DejRFkWfjTD/wPs= X-Received: by 2002:a05:6512:3f25:b0:50e:74f0:c077 with SMTP id y37-20020a0565123f2500b0050e74f0c077mr37345lfa.8.1704344171835; Wed, 03 Jan 2024 20:56:11 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 3 Jan 2024 20:56:11 -0800 In-Reply-To: <875y0bhrak.fsf@dsemy.com> Received-SPF: pass client-ip=2a00:1450:4864:20::22a; envelope-from=stefankangas@gmail.com; helo=mail-lj1-x22a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:314519 Archived-At: Daniel Semyonov writes: >>>>>> Richard Stallman writes: > > >> My module only uses the audio playback API to play music through > >> Emacs. I don't currently have plans to make use of other parts > >> of the library. > > > I see. It woild not be a pronlem to use a simple free linraru for > > that. But maybe it is not necessary. Will `play-sound' do the > > job? > > Unfortunately no, for various reasons: > - 'play-sound' blocks Emacs while the sound is playing; the functions my > module implements play audio and manage playback asynchronously. > - 'play-sound' only supports playing WAV and AU files (though I see now > that sound data can also be passed as a string, so I could implement > decoding functions in C and use them together with 'play-sound' to play > any sound file IIUC). > - My module has been successfully tested on Android, and should also work > on Windows. 'play-sound' doesn't work at all on Android, and passing > sound data as a string isn't supported on Windows. Is it possible to fix the above issues in `play-sound'? That would be preferable, because then it would benefit all users and not just those that use your module.