-
Notifications
You must be signed in to change notification settings - Fork 638
SourceVoice.SetEffect on Windows Phone 8.1 raises exception #447
Comments
Can you please provide more information about exception? The message, stack-trace, a minimal code that can reproduce it, from what folder you reference SharpDX assemblies, what version is used, etc. The following code works fine on both WP8.1 emulator and real device (NL920):
I haven't tested it further, but no exceptions are thrown in the fragment above. You can insert it in any WP8.1 project using |
Hi,
in the file. The SetEffectChain gives this as its message:
With stack trace:
And data:
|
Btw, have you tried to run this on emulator or on a real device? |
I sent you an email with the zip of the project. |
I didn't received any emails, looks like you sent it to wrong address. 2014-07-17 19:35 GMT+01:00 robertmccraith notifications@github.com:
|
Ok its up on google drive here: |
Ok, I have investigated your sample project and found that the sound file you are using is not supported by the I'm closing this issue as it is an invalid API usage and not a problem with SharpDX itself. |
Ok thank you for all the help. |
Calling SetEffect on a SourceVoice raises an exception on Windows Phone 8.1.
var sourceVoice = new SourceVoice(xAudio, w.WaveFormat);
sourceVoice.SubmitSourceBuffer(w.Buffer, null);
var reverb = new Reverb();
var effectDescriptor = new EffectDescriptor(reverb);
sourceVoice.SetEffectChain(effectDescriptor);
sourceVoice.EnableEffect(0);
The text was updated successfully, but these errors were encountered: