An unhandled exception of type 'System.ArgumentException' occurred in microsoft.directx.directsound.dll
Additional information: Value does not fall within the expected range.
occurs with the following code
where ofd is an openfiledialog and _dev is a device object with the following set
The file I'm selecting is the "C:\WINNT\dx9\extras\Extras\DirectShow\Samples\C++\DirectShow\Editing\timelinetest\track2.mp3"
any thoughts?
Want the best answers? See FAQ181-2886
Additional information: Value does not fall within the expected range.
occurs with the following code
Code:
If ofd.ShowDialog Then
_buffer = New SecondaryBuffer(ofd.FileName, _dev)
txtFileSelected.Text = ofd.FileName
End If
where ofd is an openfiledialog and _dev is a device object with the following set
Code:
_dev = New Device()
_dev.SetCooperativeLevel(Me.Handle, CooperativeLevel.Priority)
The file I'm selecting is the "C:\WINNT\dx9\extras\Extras\DirectShow\Samples\C++\DirectShow\Editing\timelinetest\track2.mp3"
any thoughts?
Want the best answers? See FAQ181-2886