Removed audio count for buffers in config
This commit is contained in:
parent
5cded5f27c
commit
ad57be052e
@ -12,14 +12,12 @@ class configuration(object):
|
|||||||
def create_config(self):
|
def create_config(self):
|
||||||
self.dialog.create_general()
|
self.dialog.create_general()
|
||||||
self.dialog.set_value("general", "wall_buffer_count", self.session.settings["buffers"]["count_for_wall_buffers"])
|
self.dialog.set_value("general", "wall_buffer_count", self.session.settings["buffers"]["count_for_wall_buffers"])
|
||||||
self.dialog.set_value("general", "audio_buffers_count", self.session.settings["buffers"]["count_for_audio_buffers"])
|
|
||||||
self.dialog.set_value("general", "video_buffers_count", self.session.settings["buffers"]["count_for_video_buffers"])
|
self.dialog.set_value("general", "video_buffers_count", self.session.settings["buffers"]["count_for_video_buffers"])
|
||||||
self.dialog.set_value("general", "load_images", self.session.settings["general"]["load_images"])
|
self.dialog.set_value("general", "load_images", self.session.settings["general"]["load_images"])
|
||||||
self.dialog.realize()
|
self.dialog.realize()
|
||||||
self.response = self.dialog.get_response()
|
self.response = self.dialog.get_response()
|
||||||
|
|
||||||
def save_configuration(self):
|
def save_configuration(self):
|
||||||
self.session.settings["buffers"]["count_for_audio_buffers"] = self.dialog.get_value("general", "wall_buffer_count")
|
|
||||||
self.session.settings["buffers"]["count_for_audio_buffers"] = self.dialog.get_value("general", "audio_buffers_count")
|
self.session.settings["buffers"]["count_for_audio_buffers"] = self.dialog.get_value("general", "audio_buffers_count")
|
||||||
self.session.settings["buffers"]["count_for_video_buffers"] = self.dialog.get_value("general", "video_buffers_count")
|
self.session.settings["buffers"]["count_for_video_buffers"] = self.dialog.get_value("general", "video_buffers_count")
|
||||||
self.session.settings["general"]["load_images"] = self.dialog.get_value("general", "load_images")
|
self.session.settings["general"]["load_images"] = self.dialog.get_value("general", "load_images")
|
||||||
|
@ -7,7 +7,6 @@ reverse_timelines = boolean(default=False)
|
|||||||
load_images = boolean(default=True)
|
load_images = boolean(default=True)
|
||||||
|
|
||||||
[buffers]
|
[buffers]
|
||||||
count_for_audio_buffers = integer(default=100)
|
|
||||||
count_for_wall_buffers = integer(default=100)
|
count_for_wall_buffers = integer(default=100)
|
||||||
count_for_video_buffers = integer(default=200)
|
count_for_video_buffers = integer(default=200)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user