print print "18:Listing known event timestamp constants =========" print "%s" % alsaseq._deventtimestamp.values() print print "19:Listing known event timemode constants ==========" print "%s" % alsaseq._deventtimemode.values() print print "20:Listing known client addresses constants ========" print "%s" % alsaseq._dclient.values() print print "21:Listing known port addresses constants ==========" print "%s" % alsaseq._dport.values() print print "98:Removing sequencer ==============================" debug([sequencer]) del sequencer print print "99:Listing sequencer (using new one) ===============" dump_list(alsaseq.Sequencer().connection_list()) print debugdone() print "seqtest1.py done."
print 'channel_name:' print alsamixer.channel_name print 'regopt_abstracts:' print alsamixer.regopt_abstract print 'event_mask:' print alsamixer.event_mask print 'event_mask_remove:', alsamixer.event_mask_remove mixer = alsamixer.Mixer() mixer.attach() mixer.load() print 'Element Count:', mixer.count print 'Elements:' print mixer.list() element = alsamixer.Element(mixer, "PCM") element.set_volume_array([128, 128]) print_elem(element) element.set_volume_tuple([127, 127]) print_elem(element) print_elem(alsamixer.Element(mixer, "Off-hook")) debug([element]) del element debug([mixer]) del mixer debugdone()