public int StartPlayback(int wavDataId, PlayEventCallback cb)
        {
            int hr = wasapi.StartPlayback(wavDataId);

            StartPlayWorker(cb);
            return(hr);
        }
 public void SetPlayEventCallback(PlayEventCallback cb)
 {
     m_playEventCb = cb;
 }
        private void StartPlayWorker(PlayEventCallback cb)
        {
            m_playEventCb = cb;

            m_playWorker.RunWorkerAsync();
        }