Lines Matching refs:segment_name
71 SEGMENT_NAME = 'segname'
308 segment_name = SEGMENT_SECTION + str(seg_num)
309 if not config.has_section(segment_name):
318 segname = config.get(segment_name, SEGMENT_NAME)
319 filename = config.get(segment_name, SEGMENT_FILENAME)
320 if config.has_option(segment_name, SEGMENT_DLSFILE):
321 dlsfile = config.get(segment_name, SEGMENT_DLSFILE)
322 if config.has_option(segment_name, SEGMENT_START):
323 start = config.get(segment_name, SEGMENT_START)
324 if config.has_option(segment_name, SEGMENT_END):
325 end = config.get(segment_name, SEGMENT_END)
326 if config.has_option(segment_name, SEGMENT_LENGTH):
327 length = config.get(segment_name, SEGMENT_LENGTH)
328 if config.has_option(segment_name, SEGMENT_OUTPUT):
329 output = config.get(segment_name, SEGMENT_OUTPUT)
330 if config.has_option(segment_name, SEGMENT_QUANTIZE):
331 quantize = config.get(segment_name, SEGMENT_QUANTIZE)
332 if config.has_option(segment_name, SEGMENT_DUMP_FILE):
333 dump_file = config.get(segment_name, SEGMENT_DUMP_FILE)
335 if config.has_option(segment_name, SEGMENT_TRANSPOSE):
336 transpose = config.get(segment_name, SEGMENT_TRANSPOSE)
337 if config.has_option(segment_name, SEGMENT_REPEAT):
338 repeat = config.get(segment_name, SEGMENT_REPEAT)
339 if config.has_option(segment_name, SEGMENT_MUTE_FLAGS):
340 mute_flags = config.get(segment_name, SEGMENT_MUTE_FLAGS)
342 if config.has_option(segment_name, SEGMENT_END_MARKER):
343 end_marker = config.get(segment_name, SEGMENT_END_MARKER)
349 for jetevent, location in config.items(segment_name):
355 for jetevent, location in config.items(segment_name):
674 segment_name = SEGMENT_SECTION + str(seg_num)
675 config.add_section(segment_name)
676 config.set(segment_name, SEGMENT_NAME, segment.segname)
677 config.set(segment_name, SEGMENT_FILENAME, segment.filename)
679 config.set(segment_name, SEGMENT_DLSFILE, segment.dlsfile)
683 config.set(segment_name, SEGMENT_START, segment.start)
685 config.set(segment_name, SEGMENT_END, segment.end)
687 config.set(segment_name, SEGMENT_LENGTH, segment.length)
688 config.set(segment_name, SEGMENT_OUTPUT, segment.output)
689 config.set(segment_name, SEGMENT_QUANTIZE, segment.quantize)
691 config.set(segment_name, SEGMENT_DUMP_FILE, segment.dump_file)
692 config.set(segment_name, SEGMENT_TRANSPOSE, segment.transpose)
693 config.set(segment_name, SEGMENT_REPEAT, segment.repeat)
694 config.set(segment_name, SEGMENT_MUTE_FLAGS, segment.mute_flags)
702 config.set(segment_name, clip_name, s)
707 config.set(segment_name, app_name, s)
711 config.set(segment_name, SEGMENT_END_MARKER, s)