ALSA: pcm: Add snd_pcm_rate_bit_to_rate()
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Fri, 15 Jun 2012 15:35:28 +0000 (16:35 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Jun 2012 07:38:58 +0000 (09:38 +0200)
commit4be77a530be1ea62574f31c20dd9848e7e2ab0f6
tree2e7fa7c283039b028e1136702f7254fede8acf1e
parent989b01385fa3cc4eaa488068a0868ae4de5198a9
ALSA: pcm: Add snd_pcm_rate_bit_to_rate()

This is essentially the reverse of snd_pcm_rate_to_rate_bit().

This is generally useful as the Compress API uses the rate bit
directly and it helps to be able to map back to the actual sample
rate.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/pcm_misc.c