Esempio n. 1
0
        public int StartPlayback(int wavDataId, PlayEventCallback cb)
        {
            int hr = wasapi.StartPlayback(wavDataId);

            StartPlayWorker(cb);
            return(hr);
        }
Esempio n. 2
0
 public void SetPlayEventCallback(PlayEventCallback cb)
 {
     m_playEventCb = cb;
 }
Esempio n. 3
0
        private void StartPlayWorker(PlayEventCallback cb)
        {
            m_playEventCb = cb;

            m_playWorker.RunWorkerAsync();
        }