Re: [PATCH] ALSA: aaci: report FIFO size in frames

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

 



On Mon, Apr 01, 2024 at 12:13:39PM +0200, Oswald Buddenhagen wrote:
> We already have frames, so don't convert them to bytes - the mid-layer
> would convert them to frames again anyway.
...
> -	/*
> -	 * ALSA wants the byte-size of the FIFOs.  As we only support
> -	 * 16-bit samples, this is twice the FIFO depth irrespective
> -	 * of whether it's in compact mode or not.
> -	 */
> -	runtime->hw.fifo_size = aaci->fifo_depth * 2;
> +	runtime->hw.fifo_size = aaci->fifo_depth;

When did ALSA change to wanting frames in "fifo_size" rather than bytes?

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!



[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