Re: [PATCH] ALSA: hda: use azx_stream() helper in all places

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 01. 02. 24 13:54, Takashi Iwai wrote:
On Wed, 31 Jan 2024 16:10:01 +0100,
Jaroslav Kysela wrote:

Make code more readable with azx_stream() helper. No functional change.

Signed-off-by: Jaroslav Kysela <perex@xxxxxxxx>

I have no much preference, but using the macro doesn't look like a
significant improvement to me, honestly speaking...

If you look to some functions, there's a mixture of azx_stream() and ->core. access to the same structure members. I found that it's an extra step for the reader to identify that both are same source. I don't mind to remove azx_stream macro or use it everywhere as I proposed, too.

I just dig to the sources wondering if 192k analog support is possible and this was visible mismatch.

More patches will probably follow.

						Jaroslav

--
Jaroslav Kysela <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux