Re: [PATCH] cmipci at 96kHz

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

 



Timofei V. Bondarenko wrote:
> This patch adds support for 88.2k, 96k, and 128k samplerates
> on cmi8738-55 chip.
> Analog playback works fine on all channels.
> Analog capture works well too, though the extra samples seems 
> interpolated by hardware.
> spdif playback and capture works fine.

> +		freq_ext = CM_CH0_SRATE_88K | CM_CH0_SRATE_96K;

I'd guess there should be a new symbol CM_CH0_SRATE_128K.

> +		case 88200:
> +			freq = 44100;
> +		case 96000:
> +			freq = 48000;
> +		case 128000:
> +			freq = 32000; /* not matter, 

Wouldn't it be simpler to divide freq by two in all three cases?


Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

  Powered by Linux