• Home
  • Raw
  • Download

Lines Matching refs:eas

218 	def __init__ (self, handle, eas):  argument
221 self.eas = eas
226 with self.eas.lock:
227 result = eas_dll.EAS_SetVolume(self.eas.handle, self.handle, volume)
234 with self.eas.lock:
235 volume = eas_dll.EAS_GetVolume(self.eas.handle, self.handle)
244 with self.eas.lock:
245 result = eas_dll.EAS_SetPriority(self.eas.handle, self.handle, priority)
253 with self.eas.lock:
254 result = eas_dll.EAS_GetPriority(self.eas.handle, self.handle, byref(priority))
263 with self.eas.lock:
264 result = eas_dll.EAS_SetTransposition(self.eas.handle, self.handle, transposition)
271 with self.eas.lock:
272 result = eas_dll.EAS_SetPolyphony(self.eas.handle, self.handle, polyphony)
280 with self.eas.lock:
281 result = eas_dll.EAS_GetPolyphony(self.eas.handle, self.handle, byref(polyphony))
289 with self.eas.lock:
290 result = eas_dll.EAS_SelectLib(self.eas.handle, self.handle, test_lib)
296 with self.eas.lock:
297 result = eas_dll.EAS_LoadDLSCollection(self.eas.handle, self.handle, path)
312 with self.eas.lock:
313 …result = eas_dll.EAS_RegExtAudioCallback(self.eas.handle, self.handle, user_data, prog_chg_func, e…
320 with self.eas.lock:
321 result = eas_dll.EAS_SetPlayMode(self.eas.handle, self.handle, play_mode)
333 def __init__ (self, path, handle, eas): argument
334 EAS_Stream.__init__(self, handle, eas)
344 with self.eas.lock:
346 result = eas_dll.EAS_Prepare(self.eas.handle, self.handle)
353 with self.eas.lock:
356 result = eas_dll.EAS_State(self.eas.handle, self.handle, byref(state))
365 with self.eas.lock:
367 result = eas_dll.EAS_CloseFile(self.eas.handle, self.handle)
372 self.eas.audio_streams.remove(self)
376 del self.eas
382 with self.eas.lock:
383 result = eas_dll.EAS_Pause(self.eas.handle, self.handle)
390 with self.eas.lock:
391 result = eas_dll.EAS_Resume(self.eas.handle, self.handle)
398 with self.eas.lock:
399 result = eas_dll.EAS_Locate(self.eas.handle, self.handle, int(secs * 1000 + 0.5), offset)
407 with self.eas.lock:
408 result = eas_dll.EAS_GetLocation(self.eas.handle, self.handle, byref(msecs))
419 with self.eas.lock:
420 result = eas_dll.EAS_GetFileType(self.eas.handle, self.handle, byref(file_type))
434 with self.eas.lock:
435 result = eas_dll.EAS_SetRepeat(self.eas.handle, self.handle, count)
443 with self.eas.lock:
444 result = eas_dll.EAS_GetRepeat(self.eas.handle, self.handle, byref(count))
453 with self.eas.lock:
454 result = eas_dll.EAS_SetPlaybackRate(self.eas.handle, self.handle, rate)
462 with self.eas.lock:
463 result = eas_dll.EAS_ParseMetaData(self.eas.handle, self.handle, byref(length))
471 with self.eas.lock:
476 …result = eas_dll.EAS_RegisterMetaDataCallback(self.eas.handle, self.handle, callback, buf, buf_siz…
484 with self.eas.lock:
485 result = eas_dll.EAS_GetWaveFmtChunk(self.eas.handle, self.handle, byref(wave_fmt_chunk))
496 max_time += self.eas.GetRenderTime()
498 self.eas.Render()
500 if self.eas.GetRenderTime() >= max_time:
503 self.eas.Render()
512 with self.eas.lock:
513 result = eas_dll.EAS_WriteMIDIStream(self.eas.handle, self.handle, data, len(data))
520 with self.eas.lock:
522 result = eas_dll.EAS_CloseMIDIStream(self.eas.handle, self.handle)
527 self.eas.audio_streams.remove(self)
531 del self.eas
919 def __init__ (self, eas=None, num_streams=3, sample_rate=44100, max_sample_rate=44100): argument
921 self.Init(eas, num_streams, sample_rate, max_sample_rate)
927 def Init (self, eas=None, num_streams=3, sample_rate=44100, max_sample_rate=44100): argument
935 if eas is None:
937 eas = EAS()
941 self.eas = eas
946 …result = eas_dll.EAS_InitAuxMixer(eas.handle, num_streams, sample_rate, max_sample_rate, byref(buf…
951 eas.SetAuxMixerHook(self)
959 with self.eas.lock:
965 self.eas.SetAuxMixerHook(None)
969 result = eas_dll.EAS_ShutdownAuxMixer(self.eas.handle)
975 self.eas.Shutdown()
977 del self.eas
987 with self.eas.lock:
991 …result = eas_dll.EAS_OpenAudioStream(self.eas.handle, decoder_func, inst_data, sample_rate, num_ch…
999 with self.eas.lock:
1001 result = eas_dll.JET_CloseFile(self.eas.handle, stream_handle)
1031 def __init__ (self, eas=None): argument
1033 self.Init(eas)
1039 def Init (self, eas=None, config=None): argument
1047 if eas is None:
1049 eas = EAS()
1053 self.eas = eas
1068 result = eas_dll.JET_Init(eas.handle, config_handle, config_size)
1078 with self.eas.lock:
1085 result = eas_dll.JET_Shutdown(self.eas.handle)
1091 self.eas.Shutdown()
1093 del self.eas
1103 with self.eas.lock:
1105 result = eas_dll.JET_OpenFile(self.eas.handle, path)
1111 with self.eas.lock:
1113 result = eas_dll.JET_CloseFile(self.eas.handle)
1126 with self.eas.lock:
1128 …result = eas_dll.JET_QueueSegment(self.eas.handle, seg_num, dls_num, repeat, tranpose, mute_flags,…
1134 with self.eas.lock:
1136 result = eas_dll.JET_Clear_Queue(self.eas.handle)
1142 with self.eas.lock:
1144 result = eas_dll.JET_GetEvent(self.eas.handle, 0, 0)
1149 with self.eas.lock:
1151 result = eas_dll.JET_Play(self.eas.handle)
1157 with self.eas.lock:
1159 result = eas_dll.JET_Pause(self.eas.handle)
1174 with self.eas.lock:
1175 self.eas.Render(count, secs)
1179 with self.eas.lock:
1182 result = eas_dll.JET_Status(self.eas.handle, byref(status))
1192 with self.eas.lock:
1193 result = eas_dll.JET_SetVolume(self.eas.handle, volume)
1200 with self.eas.lock:
1201 result = eas_dll.JET_SetTransposition(self.eas.handle, transposition)
1208 with self.eas.lock:
1209 result = eas_dll.JET_TriggerClip(self.eas.handle, clipID)
1216 with self.eas.lock:
1217 result = eas_dll.JET_SetMuteFlag(self.eas.handle, track_num, mute, sync)
1224 with self.eas.lock:
1225 result = eas_dll.JET_SetMuteFlags(self.eas.handle, mute_flags, sync)