Esempio n. 1
0
        void TestKaraokeAudioPresentationMode()
        {
            int     hr;
            IDvdCmd ppCmd;

            AllowPlay();
            hr = m_idc2.PlayChapterInTitle(1, 2, DvdCmdFlags.Flush | DvdCmdFlags.SendEvents, out ppCmd);
            DsError.ThrowExceptionForHR(hr);

            Thread.Sleep(500);

            hr = m_idc2.Stop();
            DsError.ThrowExceptionForHR(hr);

            Thread.Sleep(1000);

            // Returns an error if not Karaoke disk
            hr = m_idc2.SelectKaraokeAudioPresentationMode(DvdKaraokeDownMix.Mix_0to0);
            //DsError.ThrowExceptionForHR(hr);

            hr = m_idc2.AcceptParentalLevelChange(true);
            DsError.ThrowExceptionForHR(hr);
        }