Re: [PATCH v2] ALSA: emu10k1: minor optimizations

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

 



On Sat, 22 Apr 2023 14:15:19 +0200,
Oswald Buddenhagen wrote:
> 
> - In snd_emu10k1_look_for_ctl(), evaluate the cheap condition first
> - In _snd_emu10k1_{audigy_,}init_efx(), don't use expensive bit setting
>   loops to fill arrays
> - In snd_emu_proc_ptr_reg_read(), remove useless condition - iobase can
>   be only 0 or 0x20
> 
> Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@xxxxxx>
> ---
> v2:
> - fix fill sizes for sblive by using the previous hard-coded numbers.
>   it might be a good idea to introduce constants for that, but that's
>   for another patch.

Thanks, applied now.


Takashi



[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