≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
record what's being played through ISound*
Posted by:
(you are not logged in)
Enter the missing letter in: "Int?rnational"
(you are not logged in)
Text:
[quote][b]petesound[/b] wrote: To answer your question OnAudioDataReady always receives data, but 0ms of audio are recorded and audio data is 0. After some tinkering I found out that recording is only working if a microphone is plugged in (Then of course it gets the audio data). This may sound naive, but is it also possible to record what I am listening through play2D, without a microphone plugged in? The strange thing is, when a microphone is plugged in, it records the microphone with the correct level, but it also records the sound which is played through play2D with just 1/10 of the level. This is also true when I deactivate the power switch of the microphone-> It records 1/10 of the level of the input level. But as soon as I unplug the microphone I am not able to record what's played through play2D. This is also true when MySoundMixedOutputReceiver is completely removed. (Class not instantiated and used) So this is more of a case of an interference. So my question is, can I use MySoundMixedOutputReceiver to record what's playing through play2D and if yes, how would I connect it to the recorder? MySoundMixedOutputReceiver* receiver = new MySoundMixedOutputReceiver(); engine->setMixedDataOutputReceiver(receiver); recorder->startRecordingCustomHandledAudio(receiver, 22000, ESF_U8, 1); (this would not work as I derive MySoundMixedOutputReceiver from ISoundMixedOutputReceiver, which is the wrong type for the first parameter of startRecordingCustomHandledAudio as it asks for ICapturedAudioDataReceiver) So my second question is, if it is possible to convert my receiver to this type? Finally, let me say your audio library is amazing and it would be great if you could help me out one more time! Cheers, petesound[/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