≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Can recorder.RecordedAudioData be accessed from memory?
Posted by:
(you are not logged in)
Enter the missing letter in: "In?ernational"
(you are not logged in)
Text:
[quote][b][/b] wrote: I found a solution. Instead of - soundsource1 = engine1.AddSoundSourceFromMemory(SoundDataArray1, rec_sound1); it has to be - soundsource1 = engine1.AddSoundSourceFromPCMData(SoundDataArray1, rec_sound1, af); engine1.Play2D(rec_sound1, loop_flag); assuming that SoundDataArray1 has been copied from recorder0.RecordedAudioData as in my original post. rec_sound1 can be played back many times. However, if the code is - soundsource1 = engine1.AddSoundSourceFromPCMData(SoundDataArray1, rec_sound1, af); sound1 = engine1.Play2D(soundsource1, loop_flag, false, false); then sound1 is only available the first time, it cannot be played a second time. Am I still missing something?[/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