diff -Nru python-pyalsa-1.0.25/MANIFEST.in python-pyalsa-1.0.26/MANIFEST.in --- python-pyalsa-1.0.25/MANIFEST.in 2012-01-25 07:57:13.000000000 +0000 +++ python-pyalsa-1.0.26/MANIFEST.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -include test/*.py -include utils/*.py diff -Nru python-pyalsa-1.0.25/PKG-INFO python-pyalsa-1.0.26/PKG-INFO --- python-pyalsa-1.0.25/PKG-INFO 2012-01-25 09:33:12.000000000 +0000 +++ python-pyalsa-1.0.26/PKG-INFO 2012-09-06 08:47:38.000000000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: pyalsa -Version: 1.0.25 +Version: 1.0.26 Summary: UNKNOWN Home-page: UNKNOWN Author: The ALSA Team diff -Nru python-pyalsa-1.0.25/debian/changelog python-pyalsa-1.0.26/debian/changelog --- python-pyalsa-1.0.25/debian/changelog 2012-02-27 00:05:37.000000000 +0000 +++ python-pyalsa-1.0.26/debian/changelog 2013-05-08 11:52:28.000000000 +0000 @@ -1,3 +1,13 @@ +python-pyalsa (1.0.26-1) unstable; urgency=low + + [ Jakub Wilk ] + * Use canonical URIs for Vcs-* fields. + + [ TANIGUCHI Takaki ] + * New upstream release + + -- TANIGUCHI Takaki Wed, 08 May 2013 20:52:19 +0900 + python-pyalsa (1.0.25-1) unstable; urgency=low [ Jakub Wilk ] diff -Nru python-pyalsa-1.0.25/debian/control python-pyalsa-1.0.26/debian/control --- python-pyalsa-1.0.25/debian/control 2012-02-26 14:25:46.000000000 +0000 +++ python-pyalsa-1.0.26/debian/control 2013-05-07 00:43:51.000000000 +0000 @@ -8,8 +8,8 @@ libasound2-dev Standards-Version: 3.9.3 Homepage: http://www.alsa-project.org/main/index.php/Main_Page -Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-pyalsa/trunk/ -Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-pyalsa/trunk/ +Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-pyalsa/trunk/ +Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-pyalsa/trunk/ Package: python-pyalsa Architecture: any diff -Nru python-pyalsa-1.0.25/pyalsa/alsamixer.c python-pyalsa-1.0.26/pyalsa/alsamixer.c --- python-pyalsa-1.0.25/pyalsa/alsamixer.c 2012-01-25 07:57:13.000000000 +0000 +++ python-pyalsa-1.0.26/pyalsa/alsamixer.c 2012-09-06 07:52:57.000000000 +0000 @@ -627,7 +627,7 @@ return NULL; res = snd_mixer_selem_get_playback_volume(pyelem->elem, SND_MIXER_SCHN_MONO, &val); if (res >= 0) - PyTuple_SetItem(t, 0, PyInt_FromLong(val)); + PyList_SetItem(t, 0, PyInt_FromLong(val)); } else { t = PyList_New(SND_MIXER_SCHN_LAST+1); if (!t) @@ -658,7 +658,7 @@ return NULL; res = snd_mixer_selem_get_capture_volume(pyelem->elem, SND_MIXER_SCHN_MONO, &val); if (res >= 0) - PyTuple_SET_ITEM(t, 0, PyInt_FromLong(val)); + PyList_SET_ITEM(t, 0, PyInt_FromLong(val)); } else { t = PyList_New(SND_MIXER_SCHN_LAST+1); if (!t) diff -Nru python-pyalsa-1.0.25/pyalsa.egg-info/PKG-INFO python-pyalsa-1.0.26/pyalsa.egg-info/PKG-INFO --- python-pyalsa-1.0.25/pyalsa.egg-info/PKG-INFO 2012-01-25 09:33:12.000000000 +0000 +++ python-pyalsa-1.0.26/pyalsa.egg-info/PKG-INFO 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -Metadata-Version: 1.0 -Name: pyalsa -Version: 1.0.25 -Summary: UNKNOWN -Home-page: UNKNOWN -Author: The ALSA Team -Author-email: alsa-devel@alsa-project.org -License: UNKNOWN -Description: UNKNOWN -Platform: UNKNOWN diff -Nru python-pyalsa-1.0.25/pyalsa.egg-info/SOURCES.txt python-pyalsa-1.0.26/pyalsa.egg-info/SOURCES.txt --- python-pyalsa-1.0.25/pyalsa.egg-info/SOURCES.txt 2012-01-25 09:33:12.000000000 +0000 +++ python-pyalsa-1.0.26/pyalsa.egg-info/SOURCES.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1,26 +0,0 @@ -MANIFEST.in -setup.py -pyalsa/__init__.py -pyalsa/alsacard.c -pyalsa/alsacontrol.c -pyalsa/alsahcontrol.c -pyalsa/alsamixer.c -pyalsa/alsaseq.c -pyalsa.egg-info/PKG-INFO -pyalsa.egg-info/SOURCES.txt -pyalsa.egg-info/dependency_links.txt -pyalsa.egg-info/top_level.txt -test/alsamemdebug.py -test/cardtest1.py -test/ctltest1.py -test/hctltest1.py -test/hctltest2.py -test/mixertest1.py -test/mixertest2.py -test/seqtest1.py -test/seqtest2.py -test/seqtest3.py -utils/aconnect.py -utils/aplaymidi.py -utils/aseqdump.py -utils/remove-user-ctl.py \ No newline at end of file diff -Nru python-pyalsa-1.0.25/pyalsa.egg-info/dependency_links.txt python-pyalsa-1.0.26/pyalsa.egg-info/dependency_links.txt --- python-pyalsa-1.0.25/pyalsa.egg-info/dependency_links.txt 2012-01-25 09:33:12.000000000 +0000 +++ python-pyalsa-1.0.26/pyalsa.egg-info/dependency_links.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ - diff -Nru python-pyalsa-1.0.25/pyalsa.egg-info/top_level.txt python-pyalsa-1.0.26/pyalsa.egg-info/top_level.txt --- python-pyalsa-1.0.25/pyalsa.egg-info/top_level.txt 2012-01-25 09:33:12.000000000 +0000 +++ python-pyalsa-1.0.26/pyalsa.egg-info/top_level.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -pyalsa diff -Nru python-pyalsa-1.0.25/setup.cfg python-pyalsa-1.0.26/setup.cfg --- python-pyalsa-1.0.25/setup.cfg 2012-01-25 09:33:13.000000000 +0000 +++ python-pyalsa-1.0.26/setup.cfg 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ -[egg_info] -tag_build = -tag_date = 0 -tag_svn_revision = 0 - diff -Nru python-pyalsa-1.0.25/setup.py python-pyalsa-1.0.26/setup.py --- python-pyalsa-1.0.25/setup.py 2012-01-25 07:57:13.000000000 +0000 +++ python-pyalsa-1.0.26/setup.py 2012-09-06 07:52:57.000000000 +0000 @@ -8,7 +8,7 @@ except ImportError: from distutils.core import setup, Extension -VERSION='1.0.25' +VERSION='1.0.26' if os.path.exists("version"): fp = open("version", "r") diff -Nru python-pyalsa-1.0.25/test/mixertest2.py python-pyalsa-1.0.26/test/mixertest2.py --- python-pyalsa-1.0.25/test/mixertest2.py 2012-01-25 07:57:13.000000000 +0000 +++ python-pyalsa-1.0.26/test/mixertest2.py 2012-09-06 07:52:57.000000000 +0000 @@ -10,25 +10,25 @@ def parse_event_mask(events): if events == 0: return 'None' - if events == alsamixer.EventMaskRemove: + if events == alsamixer.event_mask_remove: return 'Removed' s = '' - for i in alsamixer.EventMask.keys(): - if events & alsamixer.EventMask[i]: + for i in alsamixer.event_mask.keys(): + if events & alsamixer.event_mask[i]: s += '%s ' % i return s[:-1] def event_callback(element, events): print 'CALLBACK (DEF)! [%s] %s:%i' % (parse_event_mask(events), element.name, element.index) - print ' ', element.getVolumeTuple(), element.getSwitchTuple() + print ' ', element.get_volume_tuple(), element.get_switch_tuple() class MyElementEvent: def callback(self, element, events): print 'CALLBACK (CLASS)! [%s] %s:%i' % (parse_event_mask(events), element.name, element.index) - print ' ', element.getVolumeTuple(), element.getSwitchTuple() + print ' ', element.get_volume_tuple(), element.get_switch_tuple() mixer = alsamixer.Mixer() @@ -36,13 +36,13 @@ mixer.load() element1 = alsamixer.Element(mixer, "Front") -element1.setCallback(event_callback) +element1.set_callback(event_callback) element2 = alsamixer.Element(mixer, "PCM") -element2.setCallback(MyElementEvent()) +element2.set_callback(MyElementEvent()) poller = select.poll() -mixer.registerPoll(poller) +mixer.register_poll(poller) while True: poller.poll() print 'Poll OK!' - mixer.handleEvents() + mixer.handle_events()