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:
parent
06cbe215a3
commit
043f0c29a1
10 changed files with 62 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue