From: Jaroslav Kysela <perex@perex.cz>
To: Takashi Iwai <tiwai@suse.de>
Cc: linux-sound@vger.kernel.org, Takashi Sakamoto <takaswie@kernel.org>
Subject: Re: [PATCH v4 1/2] ALSA: pcm: reinvent the stream synchronization ID API
Date: Thu, 13 Jun 2024 16:28:04 +0200 [thread overview]
Message-ID: <7f33efba-b26c-455e-bec0-8494c55eaac8@perex.cz> (raw)
In-Reply-To: <8734pgorew.wl-tiwai@suse.de>
On 13. 06. 24 16:20, Takashi Iwai wrote:
> On Thu, 13 Jun 2024 14:56:49 +0200,
> Takashi Sakamoto wrote:
>>
>> Hi,
>>
>> On Tue, May 07, 2024 at 03:30:50PM +0200, Jaroslav Kysela wrote:
>>> diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.h
>>> index 628d46a0da92..c458172b32d5 100644
>>> --- a/include/uapi/sound/asound.h
>>> +++ b/include/uapi/sound/asound.h
>>> @@ -142,7 +142,7 @@ struct snd_hwdep_dsp_image {
>>> * *
>>> *****************************************************************************/
>>>
>>> -#define SNDRV_PCM_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 17)
>>> +#define SNDRV_PCM_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 18)
>>>
>>> typedef unsigned long snd_pcm_uframes_t;
>>> typedef signed long snd_pcm_sframes_t;
>>> @@ -330,12 +330,6 @@ enum {
>>> #endif
>>> };
>>>
>>> -union snd_pcm_sync_id {
>>> - unsigned char id[16];
>>> - unsigned short id16[8];
>>> - unsigned int id32[4];
>>> -};
>>
>> It can bring FTBFS for any userspace application which uses the
>> structure. If getting rid of such public structure, we should have the
>> term to deprecate it for a while.
>
> A good point. We can keep the union definition there but add a
> comment that it's deprecated and not actually used in any code.
The question is, if someone is using this directly (outside alsa-lib) when the
implementation was vanished for several years.
Anyway, I'll add __attribute__((deprecated)) to this structure in respin.
Thanks for the review.
Jaroslav
--
Jaroslav Kysela <perex@perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
next prev parent reply other threads:[~2024-06-13 14:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-07 13:30 [PATCH v4 0/2] ALSA: pcm: reinvent the stream synchronization ID API Jaroslav Kysela
2024-05-07 13:30 ` [PATCH v4 1/2] " Jaroslav Kysela
2024-06-13 12:56 ` Takashi Sakamoto
2024-06-13 14:20 ` Takashi Iwai
2024-06-13 14:28 ` Jaroslav Kysela [this message]
2024-06-24 13:17 ` Jaroslav Kysela
2024-05-07 13:30 ` [PATCH v4 2/2] ALSA: pcm: optimize and clarify stream sychronization " Jaroslav Kysela
2024-06-13 13:00 ` Takashi Sakamoto
2024-06-13 12:14 ` [PATCH v4 0/2] ALSA: pcm: reinvent the stream synchronization " Takashi Iwai
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=7f33efba-b26c-455e-bec0-8494c55eaac8@perex.cz \
--to=perex@perex.cz \
--cc=linux-sound@vger.kernel.org \
--cc=takaswie@kernel.org \
--cc=tiwai@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox