Re: [RFC PATCH 2/3] ALSA:core: Add rate 24kHz

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

 




Adds SNDRV_PCM_RATE_24000 at the bottom to keep backward compability
with alsa library.

Signed-off-by: Pawel Harlozinski <pawel.harlozinski@xxxxxxxxxxxxxxx>

No.  Such a fancy rate has to be handled inside the driver locally
instead of adding to the common rate.

It's not that crazy, this is supported in the HDaudio spec:

Sample Base Rate Divisor (DIV):
000 = Divide by 1 (48 kHz, 44.1 kHz)
001 = Divide by 2 (24 kHz, 22.05 kHz)

I am not sure why 22.05 made the cut and not 24 kHz, they are both
derived from common clocks with the same divider... Same for 11.025
and 12...

I'm not against supporting it.  It'd be fine if it were the changes
that are applied only to HD-audio driver side.  What I'm against is to
change the ALSA PCM core.  It's not necessarily done there at all.

Humm, out of curiosity what is the issue here? Would this addition break anything? I don't personally care too much but I've never quite understood why the ALSA core only defined a subset of 'common' rates.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[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