Talk:DirectX:DirectSound:Tutorials:VBNET:DX9:Playing Sounds
From GPWiki
The wiki is now hosted by GameDev.NET at wiki.gamedev.net. All gpwiki.org content has been moved to the new server. However, the GPWiki forums are still active! Come say hello. This gives errors when I try this. Specifically I get problems with creation of the secondary buffer. I get an exception "Value does not fall within the expected range." on the line: _buffer = New SecondaryBuffer(ofd.FileName, _dev) Sadly the message is not specific as to which value it does not like. I had widened the search dialogue to include mp3 and mdw files and have similar results. Though this is certainly true of the code which is available for download. I have looked at various news groups and found others with this same problem using DX9 but no solutions. I have downloaded the sample application posted and this displays the same error. Any thoughts? Stephen Connell.
|


