audio_manager_linux: Allow CRAS to decide if sample rate conversion is needed.
audio_manager_linux: Allow CRAS to decide if sample rate conversion is needed.

When using CRAS, set up audio streams based on the desired sample rate,
not the "hardware" sample rate.  CRAS will configure the hardware for
the sample rate if possible and sample rate convert if not.

BUG=chromium-os:34724
TEST=play 44.1 video on youtube, check that the hardware is configured
for 44.1.

Signed-off-by: Dylan Reid <dgreid@chromium.org>


Review URL: https://chromiumcodereview.appspot.com/10991019

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@158772 0039d316-1c4b-4281-b951-d872f2087c98

zcbenz/cefode-chromium,timopulkkinen/BubbleFish,fujunwei/chromium-crosswalk,Just-D/chromium-1,M4sse/chromium.src,Jonekee/chromium.src,jaruba/chromium.src,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,crosswalk-project/chromium-crosswalk-efl,dushu1203/chromium.src,hujiajie/pa-chromium,Just-D/chromium-1,ChromiumWebApps/chromium,Chilledheart/chromium,crosswalk-project/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,ltilve/chromium,axinging/chromium-crosswalk,Chilledheart/chromium,markYoungH/chromium.src,ondra-novak/chromium.src,TheTypoMaster/chromium-crosswalk,markYoungH/chromium.src,mogoweb/chromium-crosswalk,Chilledheart/chromium,hgl888/chromium-crosswalk,M4sse/chromium.src,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,hgl888/chromium-crosswalk-efl,dednal/chromium.src,Fireblend/chromium-crosswalk,ltilve/chromium,littlstar/chromium.src,patrickm/chromium.src,hgl888/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,ChromiumWebApps/chromium,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,axinging/chromium-crosswalk,anirudhSK/chromium,Pluto-tv/chromium-crosswalk,ChromiumWebApps/chromium,ondra-novak/chromium.src,TheTypoMaster/chromium-crosswalk,krieger-od/nwjs_chromium.src,Just-D/chromium-1,littlstar/chromium.src,mohamed--abdel-maksoud/chromium.src,patrickm/chromium.src,ltilve/chromium,zcbenz/cefode-chromium,axinging/chromium-crosswalk,zcbenz/cefode-chromium,anirudhSK/chromium,ChromiumWebApps/chromium,zcbenz/cefode-chromium,timopulkkinen/BubbleFish,chuan9/chromium-crosswalk,krieger-od/nwjs_chromium.src,ondra-novak/chromium.src,hujiajie/pa-chromium,Fireblend/chromium-crosswalk,anirudhSK/chromium,dednal/chromium.src,anirudhSK/chromium,Jonekee/chromium.src,hgl888/chromium-crosswalk-efl,junmin-zhu/chromium-rivertrail,mohamed--abdel-maksoud/chromium.src,nacl-webkit/chrome_deps,dushu1203/chromium.src,mohamed--abdel-maksoud/chromium.src,TheTypoMaster/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,dushu1203/chromium.src,ChromiumWebApps/chromium,timopulkkinen/BubbleFish,patrickm/chromium.src,nacl-webkit/chrome_deps,M4sse/chromium.src,zcbenz/cefode-chromium,pozdnyakov/chromium-crosswalk,dednal/chromium.src,nacl-webkit/chrome_deps,markYoungH/chromium.src,Jonekee/chromium.src,krieger-od/nwjs_chromium.src,ChromiumWebApps/chromium,hgl888/chromium-crosswalk,fujunwei/chromium-crosswalk,ondra-novak/chromium.src,TheTypoMaster/chromium-crosswalk,hujiajie/pa-chromium,pozdnyakov/chromium-crosswalk,mogoweb/chromium-crosswalk,markYoungH/chromium.src,PeterWangIntel/chromium-crosswalk,nacl-webkit/chrome_deps,dushu1203/chromium.src,bright-sparks/chromium-spacewalk,Pluto-tv/chromium-crosswalk,littlstar/chromium.src,chuan9/chromium-crosswalk,fujunwei/chromium-crosswalk,bright-sparks/chromium-spacewalk,mohamed--abdel-maksoud/chromium.src,axinging/chromium-crosswalk,timopulkkinen/BubbleFish,M4sse/chromium.src,anirudhSK/chromium,fujunwei/chromium-crosswalk,zcbenz/cefode-chromium,zcbenz/cefode-chromium,jaruba/chromium.src,axinging/chromium-crosswalk,markYoungH/chromium.src,dushu1203/chromium.src,ltilve/chromium,Just-D/chromium-1,nacl-webkit/chrome_deps,mogoweb/chromium-crosswalk,mogoweb/chromium-crosswalk,timopulkkinen/BubbleFish,pozdnyakov/chromium-crosswalk,M4sse/chromium.src,hujiajie/pa-chromium,M4sse/chromium.src,bright-sparks/chromium-spacewalk,junmin-zhu/chromium-rivertrail,mogoweb/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Pluto-tv/chromium-crosswalk,M4sse/chromium.src,Pluto-tv/chromium-crosswalk,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk,axinging/chromium-crosswalk,pozdnyakov/chromium-crosswalk,bright-sparks/chromium-spacewalk,PeterWangIntel/chromium-crosswalk,ltilve/chromium,junmin-zhu/chromium-rivertrail,junmin-zhu/chromium-rivertrail,mohamed--abdel-maksoud/chromium.src,dushu1203/chromium.src,dushu1203/chromium.src,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,krieger-od/nwjs_chromium.src,hgl888/chromium-crosswalk-efl,Jonekee/chromium.src,hujiajie/pa-chromium,krieger-od/nwjs_chromium.src,TheTypoMaster/chromium-crosswalk,jaruba/chromium.src,PeterWangIntel/chromium-crosswalk,patrickm/chromium.src,Fireblend/chromium-crosswalk,ltilve/chromium,littlstar/chromium.src,markYoungH/chromium.src,Fireblend/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,krieger-od/nwjs_chromium.src,anirudhSK/chromium,Chilledheart/chromium,mohamed--abdel-maksoud/chromium.src,anirudhSK/chromium,bright-sparks/chromium-spacewalk,ondra-novak/chromium.src,bright-sparks/chromium-spacewalk,patrickm/chromium.src,ltilve/chromium,jaruba/chromium.src,mohamed--abdel-maksoud/chromium.src,Just-D/chromium-1,hgl888/chromium-crosswalk,zcbenz/cefode-chromium,markYoungH/chromium.src,Jonekee/chromium.src,junmin-zhu/chromium-rivertrail,patrickm/chromium.src,patrickm/chromium.src,Jonekee/chromium.src,junmin-zhu/chromium-rivertrail,M4sse/chromium.src,Pluto-tv/chromium-crosswalk,pozdnyakov/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,timopulkkinen/BubbleFish,anirudhSK/chromium,PeterWangIntel/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,ChromiumWebApps/chromium,M4sse/chromium.src,fujunwei/chromium-crosswalk,krieger-od/nwjs_chromium.src,Fireblend/chromium-crosswalk,dednal/chromium.src,chuan9/chromium-crosswalk,Just-D/chromium-1,Fireblend/chromium-crosswalk,ChromiumWebApps/chromium,jaruba/chromium.src,PeterWangIntel/chromium-crosswalk,hgl888/chromium-crosswalk,pozdnyakov/chromium-crosswalk,mogoweb/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,Chilledheart/chromium,krieger-od/nwjs_chromium.src,Chilledheart/chromium,chuan9/chromium-crosswalk,bright-sparks/chromium-spacewalk,nacl-webkit/chrome_deps,mogoweb/chromium-crosswalk,Jonekee/chromium.src,hgl888/chromium-crosswalk-efl,timopulkkinen/BubbleFish,crosswalk-project/chromium-crosswalk-efl,anirudhSK/chromium,junmin-zhu/chromium-rivertrail,dednal/chromium.src,jaruba/chromium.src,nacl-webkit/chrome_deps,chuan9/chromium-crosswalk,Just-D/chromium-1,Just-D/chromium-1,dednal/chromium.src,anirudhSK/chromium,krieger-od/nwjs_chromium.src,ChromiumWebApps/chromium,pozdnyakov/chromium-crosswalk,ltilve/chromium,fujunwei/chromium-crosswalk,fujunwei/chromium-crosswalk,hujiajie/pa-chromium,mogoweb/chromium-crosswalk,patrickm/chromium.src,markYoungH/chromium.src,dushu1203/chromium.src,chuan9/chromium-crosswalk,axinging/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,ondra-novak/chromium.src,Pluto-tv/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,ChromiumWebApps/chromium,Chilledheart/chromium,chuan9/chromium-crosswalk,hujiajie/pa-chromium,dednal/chromium.src,crosswalk-project/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,markYoungH/chromium.src,nacl-webkit/chrome_deps,M4sse/chromium.src,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk,jaruba/chromium.src,anirudhSK/chromium,zcbenz/cefode-chromium,Fireblend/chromium-crosswalk,timopulkkinen/BubbleFish,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk,Jonekee/chromium.src,Chilledheart/chromium,ltilve/chromium,krieger-od/nwjs_chromium.src,axinging/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,zcbenz/cefode-chromium,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk,dushu1203/chromium.src,Fireblend/chromium-crosswalk,Jonekee/chromium.src,jaruba/chromium.src,dednal/chromium.src,junmin-zhu/chromium-rivertrail,bright-sparks/chromium-spacewalk,anirudhSK/chromium,hgl888/chromium-crosswalk-efl,littlstar/chromium.src,hujiajie/pa-chromium,Just-D/chromium-1,dushu1203/chromium.src,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk-efl,ondra-novak/chromium.src,littlstar/chromium.src,dushu1203/chromium.src,junmin-zhu/chromium-rivertrail,bright-sparks/chromium-spacewalk,axinging/chromium-crosswalk,jaruba/chromium.src,dednal/chromium.src,timopulkkinen/BubbleFish,markYoungH/chromium.src,hujiajie/pa-chromium,nacl-webkit/chrome_deps,ondra-novak/chromium.src,Jonekee/chromium.src,markYoungH/chromium.src,Pluto-tv/chromium-crosswalk,dednal/chromium.src,patrickm/chromium.src,hujiajie/pa-chromium,krieger-od/nwjs_chromium.src,ondra-novak/chromium.src,hgl888/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,jaruba/chromium.src,hgl888/chromium-crosswalk,littlstar/chromium.src,zcbenz/cefode-chromium,hgl888/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,junmin-zhu/chromium-rivertrail,mogoweb/chromium-crosswalk,dednal/chromium.src,timopulkkinen/BubbleFish,TheTypoMaster/chromium-crosswalk,Chilledheart/chromium,littlstar/chromium.src,fujunwei/chromium-crosswalk,nacl-webkit/chrome_deps,M4sse/chromium.src,fujunwei/chromium-crosswalk,hujiajie/pa-chromium,ChromiumWebApps/chromium,junmin-zhu/chromium-rivertrail,jaruba/chromium.src