Lines Matching refs:volume
176 ('volume', c_ubyte),
223 def SetVolume (self, volume):
224 """Set the stream volume"""
225 eas_logger.debug('Call EAS_SetVolume: volume=%d' % volume)
227 result = eas_dll.EAS_SetVolume(self.eas.handle, self.handle, volume)
232 """Get the stream volume."""
235 volume = eas_dll.EAS_GetVolume(self.eas.handle, self.handle)
236 if volume < 0:
237 raise EAS_Exception(volume, 'EAS_GetVolume error %d on file %s' % (volume, self.path), 'EAS_GetVolume')
238 eas_logger.debug('EAS_GetVolume: volume=%d' % volume)
239 return volume
815 def SetVolume (self, volume):
816 """Set the master volume"""
817 eas_logger.debug('Call EAS_SetVolume: volume=%d' % volume)
819 result = eas_dll.EAS_SetVolume(self.handle, 0, volume)
824 """Get the stream volume."""
826 volume = c_int(0)
828 result = eas_dll.EAS_GetVolume(self.handle, 0, byref(volume))
831 eas_logger.debug('EAS_GetVolume: volume=%d' % volume.value)
832 return volume.value
1189 def SetVolume (self, volume):
1190 """Set the JET volume"""
1193 result = eas_dll.JET_SetVolume(self.eas.handle, volume)