diff --git a/Demo/sgi/cd/cdaiff.py b/Demo/sgi/cd/cdaiff.py index 3f14bceda4c..e66f6a4d2f1 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 1735ac17d53..b245ff0293b 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 <> '':