protected unsafe void EnableActionPlay() { iCallbackPlay = new CallbackPlay(DoPlay); IntPtr ptr = GCHandle.ToIntPtr(iGch); DvServiceUpnpOrgAVTransport2EnableActionPlay(iHandle, iCallbackPlay, ptr); }
protected unsafe void EnableActionPlay() { iCallbackPlay = new CallbackPlay(DoPlay); IntPtr ptr = GCHandle.ToIntPtr(iGch); DvServiceLinnCoUkRadio1EnableActionPlay(iHandle, iCallbackPlay, ptr); }
static extern void DvServiceUpnpOrgAVTransport2EnableActionPlay(uint aHandle, CallbackPlay aCallback, IntPtr aPtr);
static extern void DvServiceLinnCoUkRadio1EnableActionPlay(uint aHandle, CallbackPlay aCallback, IntPtr aPtr);
public void Init(string path, CallbackPlay cb) { m_CurrentPos = 0; m_CallbackPlay = cb; m_FileList = GetAllFilesInDirectory(path); }