≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Low-Pass Filter extension to ISoundEffectControl
Posted by:
(you are not logged in)
Enter the missing letter in: "Inte?national"
(you are not logged in)
Text:
[quote][b][/b] wrote: Thanks for the quick reply. I've been trying to do as you suggested, but when using the code: ISoundSource src = engine.AddSoundSourceFromFile(@"..\..\Melody.ogg", StreamMode.AutoDetect, true); ISoundSource modified = engine.AddSoundSourceFromPCMData(LowPassFilter(src.SampleData, 6000, 1, src.AudioFormat.SampleRate, src.AudioFormat.ChannelCount), "Melody", src.AudioFormat); The src.SampleData field always results in a nullReferenceException, despite 'src' loading and being able to play correctly. What am I doing wrong whereby I can't access the SampleData property as you recommended?[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact