CC-3074: Give users the choice of which hardware sound API they wish to

use (instead of hardcoded to ALSA)

- finished everything except LS part(including upgrade and UI)
This commit is contained in:
James 2011-11-30 19:01:40 -05:00 committed by Martin Konecny
parent 06cbe215a3
commit 043f0c29a1
10 changed files with 62 additions and 2 deletions

View file

@ -125,6 +125,14 @@ $(document).ready(function() {
rebuildStreamURL($(this))
})
$("#output_sound_device").change(function(){
if($(this).is(':checked')){
$("select[id=output_sound_device_type]").removeAttr('disabled')
}else{
$("select[id=output_sound_device_type]").attr('disabled', 'disabled')
}
})
$("select[id$=data-type]").change(function(){
if($(this).val() == 'ogg'){
restrictOggBitrate($(this), true)