Lines Matching refs:port
54 self.port = None
58 if self.port:
66 if not self.port:
69 while self.port.getfilled() > 0:
74 if self.port:
75 self.port.closeport()
76 self.port = None
118 if not self.port:
120 self.port = al.openport('Python', 'w', self.config)
126 self.port.writesamps(data)
129 if self.port:
130 return self.port.getfilled()
135 if self.port:
136 return self.port.getfillable()
159 self.port = None
180 if not self.port:
182 self.port = sunaudiodev.open('w')
183 info = self.port.getinfo()
193 self.port.setinfo(info)
196 self.port.write(data)
199 if not self.port:
201 self.port.drain()
205 if self.port:
206 self.port.flush()
207 self.port.close()
208 self.port = None
211 if self.port:
212 return self.port.obufcount()