Re: [RFC v2 00/xx] ALSA: ALSA: add snd_pcm_is_playback/capture()

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

 



Hi Jaroslav
Cc Takashi, Mark

Thank you for your comment

> my opinion is that this massive patch-set is just an overdesign. Even using
> the _Generic macro does not bring anything new and the code readability is not 
> improved. If we add such macros for all simple cases (condition expressions), 
> the code will be unreadable at some point.

I can understand that there are pros and cons.

I don't like redundant long and hard-to-read code to getting simple result.
If there is no way to do it, then there is no other way, but if there is an
easy way to shorten and easy-to-read it, then I would like to use it.

But Yes, I can agree that it will be huge patch-set, and indeed this code
does nothing.

Thank you for your help !!

Best regards
---
Kuninori Morimoto



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux