summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xDemo/sgi/cd/cdaiff.py2
-rwxr-xr-xDemo/sgi/cd/playcd.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/Demo/sgi/cd/cdaiff.py b/Demo/sgi/cd/cdaiff.py
index 3f14bce..e66f6a4 100755
--- a/Demo/sgi/cd/cdaiff.py
+++ b/Demo/sgi/cd/cdaiff.py
@@ -17,7 +17,7 @@ def main():
a.setsampwidth(AL.SAMPLE_16)
a.setnchannels(AL.STEREO)
a.setframerate(AL.RATE_44100)
- r = readcd.Readcd().init()
+ r = readcd.Readcd()
for arg in sys.argv[2:]:
x = eval(arg)
try:
diff --git a/Demo/sgi/cd/playcd.py b/Demo/sgi/cd/playcd.py
index 1735ac1..b245ff0 100755
--- a/Demo/sgi/cd/playcd.py
+++ b/Demo/sgi/cd/playcd.py
@@ -52,10 +52,10 @@ def prstatus(status):
def main():
import sys, readcd, al, AL, CD, cdplayer
verbose = 0
- r = readcd.Readcd().init()
+ r = readcd.Readcd()
prstatus(r.getstatus())
prtrackinfo(r.gettrackinfo())
- cdinfo = cdplayer.Cdplayer().init(r.gettrackinfo())
+ cdinfo = cdplayer.Cdplayer(r.gettrackinfo())
if cdinfo.title <> '':
print 'Title: "' + cdinfo.title + '"'
if cdinfo.artist <> '':