@@ -413,9 +413,9 @@ def __init__(self, application, request, **kwargs):
413413 self .prefs = []
414414
415415 self .make_pref ("bluetooth_name" , self .OPTION_FILE_CONTENTS , "/data/bluetooth/name" , str )
416+ self .make_pref ("jack_buffer_size" , self .OPTION_FILE_CONTENTS , "/data/jack-buffer-size" , int , 128 )
416417 self .make_pref ("jack_mono_copy" , self .OPTION_FILE_EXISTS , "/data/jack-mono-copy" )
417418 self .make_pref ("jack_sync_mode" , self .OPTION_FILE_EXISTS , "/data/jack-sync-mode" )
418- self .make_pref ("jack_256_frames" , self .OPTION_FILE_EXISTS , "/data/using-256-frames" )
419419 self .make_pref ("separate_spdif_outs" , self .OPTION_FILE_EXISTS , "/data/separate-spdif-outs" )
420420
421421 # Optional services
@@ -529,8 +529,7 @@ def post(self):
529529 if path not in ("autorestart-hmi" ,
530530 "jack-mono-copy" ,
531531 "jack-sync-mode" ,
532- "separate-spdif-outs" ,
533- "using-256-frames" ):
532+ "separate-spdif-outs" ):
534533 self .write (False )
535534 return
536535
@@ -549,7 +548,8 @@ def post(self):
549548 path = self .get_argument ('path' )
550549 content = self .get_argument ('content' ).strip ()
551550
552- if path not in ("bluetooth/name" ,):
551+ if path not in ("bluetooth/name" ,
552+ "jack-buffer-size" ):
553553 self .write (False )
554554 return
555555
0 commit comments