≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
IAudioRecorder without an ISoundEngine
Posted by:
(you are not logged in)
Enter the missing letter in: "Intern?tional"
(you are not logged in)
Text:
[quote][b]kindyre[/b] wrote: I know IAudioRecorder is still a beta feature, so this is just a suggestion (unless it's possible already and I'm just missing something). As far as I can tell, there's no way to create an IAudioRecorder without first having a valid ISoundEngine. createIrrKlangAudioRecorder() takes a non-optional ISoundEngine* as its first parameter, and passing in nullptr makes it fail (returns a nullptr instead of a valid IAudioRecorder). This doesn't really make sense since there are plenty of scenarios where you just want to record without playing back the recording right away, at least not to the same user on the same machine. You might want to just save to a file (and perhaps play that, but that has nothing to do with the recorder at that point). Or you might want to send it over the network to another machine. Or you might just want to peek at the PCM data to display a volume meter to the user. Etc... In most cases you can work around this by creating a dummy ISoundEngine that never actually gets used. But that's not very ideal. And what happens if you're in a scenario where you only have microphone(s) available and the machine has no valid/enabled playback devices? Long story short: It should be possible to create an IAudioRecorder without having an ISoundEngine.[/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