Working on another Zune game and running into an exception:
An unhandled exception of type 'System.InvalidOperationException' occurred in Microsoft.Xna.Framework.dll
Additional information: Failed to submit audio for playback.
The code is pretty simple for that spot:
public void Press()
{
if (!isPressed)
Sound.Play(1f, Pitch, 0f, false); <- throws here
isPressed = true;
}
And I know it is loaded before playing because I have a Windows version that works without issue. Any thoughts?
Nick Gravelyn -- Microsoft XNA MVP
Blog |
The Best Game. Ever. |
Next-Gen