home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 56 / CDPowerplay56Disc2.iso / demos / blade / data1.cab / Program_Executable_Files / Lib / MP3x.py < prev    next >
Encoding:
Python Source  |  2000-10-27  |  1.7 KB  |  61 lines

  1. # This file was created automatically by SWIG.
  2. import MP3xc
  3. class B_MP3PlayerPtr :
  4.     def __init__(self,this):
  5.         self.this = this
  6.         self.thisown = 0
  7.     def __del__(self):
  8.         if self.thisown == 1 :
  9.             MP3xc.delete_B_MP3Player(self.this)
  10.     def Load(self,arg0):
  11.         val = MP3xc.B_MP3Player_Load(self.this,arg0)
  12.         return val
  13.     def Play(self):
  14.         val = MP3xc.B_MP3Player_Play(self.this)
  15.         return val
  16.     def Stop(self):
  17.         val = MP3xc.B_MP3Player_Stop(self.this)
  18.         return val
  19.     def SetVolume(self,arg0):
  20.         val = MP3xc.B_MP3Player_SetVolume(self.this,arg0)
  21.         return val
  22.     def SetPCMVolume(self,arg0):
  23.         val = MP3xc.B_MP3Player_SetPCMVolume(self.this,arg0)
  24.         return val
  25.     def SetBalance(self,arg0):
  26.         val = MP3xc.B_MP3Player_SetBalance(self.this,arg0)
  27.         return val
  28.     def GetDuration(self):
  29.         val = MP3xc.B_MP3Player_GetDuration(self.this)
  30.         return val
  31.     def GetMP3Type(self):
  32.         val = MP3xc.B_MP3Player_GetMP3Type(self.this)
  33.         return val
  34.     def GetPlayerState(self):
  35.         val = MP3xc.B_MP3Player_GetPlayerState(self.this)
  36.         return val
  37.     def GetLastError(self):
  38.         val = MP3xc.B_MP3Player_GetLastError(self.this)
  39.         return val
  40.     def GetFileName(self):
  41.         val = MP3xc.B_MP3Player_GetFileName(self.this)
  42.         return val
  43.     def __repr__(self):
  44.         return "<C B_MP3Player instance>"
  45. class B_MP3Player(B_MP3PlayerPtr):
  46.     def __init__(self,arg0,*args) :
  47.         self.this = apply(MP3xc.new_B_MP3Player,(arg0,)+args)
  48.         self.thisown = 1
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55. #-------------- FUNCTION WRAPPERS ------------------
  56.  
  57.  
  58.  
  59. #-------------- VARIABLE WRAPPERS ------------------
  60.  
  61.