<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">> <span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Was the capture issue a problem with compiling, or a problem running the app even if it doesn't attempt to create a capture device?</span></div><div dir="ltr"><br></div><div dir="ltr">I looked a bit closer at it, as is, the ALCcoreAudioCapture_open code does not compile, the problem is AudioObjectGetPropertyData and AudioDeviceID is not available on iOS, and we need to use kAudioUnitSubType_RemoteIO instead of kAudioUnitSubType_HALOutput<div>Shouldn't be too hard to fix I think. I could see if I can get it to work...</div><div><br></div><div>I don't think there would be any permission issue as long as you do not attempt to capture. If I read the documentation right, the system will automatically display a permission dialog when the recording audio unit is created, or the user of OpenALSoft can first call [AVAudioSession requestRecordPermission:]</div><div><br></div><div>> <span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">For this, there may be another option.</span></div><div><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Loopback is interesting, you're probably right I could've used this instead. I have no good explanation why I didn't :)</span></div><div><br></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 September 2018 at 05:34, Chris Robinson <span dir="ltr"><<a href="mailto:chris.kcat@gmail.com" target="_blank">chris.kcat@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 09/03/2018 06:24 AM, Olle Hedman wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
coreaudio-ios-buildfix.diff<br>
-<br>
This small patch is to make coreaudio backend build and run on iOS. Capture<br>
is disabled. (I have no use for it, and there was some issue with it, I<br>
don't remember exactly. Possibly it's not available on iOS, or there was<br>
some sandbox/entitlement issue)<br>
</blockquote>
<br></span>
Was the capture issue a problem with compiling, or a problem running the app even if it doesn't attempt to create a capture device?<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
ios-bundle-config.diff<br>
-<br>
Another minor iOS fix, this makes it possible to keep the config file in<br>
the application bundle.<br>
This might not be needed, but it was how I solved it at that time. Possibly<br>
you could also just "chdir()" in your app to the bundle path and it would<br>
also work.<br>
I'm not using a config file now, but I thought I should include this patch<br>
anyhow.<br>
</blockquote>
<br></span>
This looks like it may be worth adding regardless.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
wave-output.diff<br>
</blockquote>
<br>
For this, there may be another option. By the looks of it, you want to write out the mix to a wav file as the corresponding video frames are processed, in non-real-time (then compress and mux the audio with the video afterward). What you can do instead is use OpenAL Soft's ALC_SOFT_loopback extension to mix the audio in non-real-time, and you then write it to a wav file however you can (or encode it directly).<br>
<br>
<<a href="http://kcat.strangesoft.net/openal-extensions/SOFT_loopback.txt" rel="noreferrer" target="_blank">http://kcat.strangesoft.net/o<wbr>penal-extensions/SOFT_loopback<wbr>.txt</a>><br>
<br>
The alloopback example shows the extension in action, using SDL to play the resulting mix (though you can of course do whatever else you want instead with the rendered mix, as fast or as slow as you want).<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><blockquote type="cite" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;text-align:-webkit-auto;border-spacing:0px"><div style="margin:0px;font-family:Verdana;color:rgb(100,100,100)"><b><p align="LEFT" style="margin-bottom:0in"><font color="#515151"><font face="Verdana, sans-serif"><font size="2" style="font-size:11pt">Best regards,</font></font></font></p></b></div><div style="margin:0px;font-family:Verdana;color:rgb(100,100,100)"><b>Olof Hedman</b></div><div style="margin:0px;font-size:12px;font-family:Verdana;color:rgb(140,140,140)"><br></div><table cellspacing="0" cellpadding="0"><tbody><tr><td valign="middle" style="margin:0px;font-family:arial,sans-serif;width:40px"><div style="margin:0px;font-size:10px;font-family:Verdana;color:rgb(100,100,100)">Mobile:</div></td><td valign="middle" style="margin:0px;font-family:arial,sans-serif;width:10px"><div style="margin:0px;font-size:10px;font-family:Verdana;color:rgb(100,100,100);min-height:12px"><br></div></td><td valign="middle" style="margin:0px;font-family:arial,sans-serif;width:118px"><div style="margin:0px;font-size:10px;font-family:Verdana;color:rgb(100,100,100)"><a value="+46704670767" style="color:rgb(17,85,204)">+46 (0)708 - 42 28 76 </a></div></td></tr><tr><td valign="middle" style="margin:0px;font-family:arial,sans-serif;width:40px"><div style="margin:0px;font-size:10px;font-family:Verdana;color:rgb(100,100,100)">Office:</div></td><td valign="middle" style="margin:0px;font-family:arial,sans-serif;width:10px"><div style="margin:0px;font-size:10px;font-family:Verdana;color:rgb(100,100,100);min-height:12px"><br></div></td><td valign="middle" style="margin:0px;font-family:arial,sans-serif;width:118px"><div style="margin:0px;font-size:10px;font-family:Verdana;color:rgb(100,100,100)"><a value="+46406444495" style="color:rgb(17,85,204)">+46 (0)40 - 644 44 95</a></div></td></tr><tr><td valign="middle" style="margin:0px;font-family:arial,sans-serif;width:40px"><div style="margin:0px;font-size:10px;font-family:Verdana;color:rgb(100,100,100)">Web:</div></td><td valign="middle" style="margin:0px;font-family:arial,sans-serif;width:10px"><div style="margin:0px;font-size:10px;font-family:Verdana;color:rgb(100,100,100);min-height:12px"><br></div></td><td valign="middle" style="margin:0px;font-family:arial,sans-serif;width:118px"><div style="margin:0px;font-size:10px;font-family:Verdana;color:rgb(37,79,174)"><span style="text-decoration:underline"><a href="http://www.illusionlabs.com/" style="color:rgb(17,85,204)" target="_blank">www.illusionlabs.com</a></span></div></td></tr><tr><td valign="middle" style="margin:0px;font-family:arial,sans-serif;width:40px"><div style="margin:0px;font-size:10px;font-family:Verdana;color:rgb(100,100,100)">Twitter:</div></td><td valign="middle" style="margin:0px;font-family:arial,sans-serif;width:10px"><div style="margin:0px;font-size:10px;font-family:Verdana;color:rgb(100,100,100);min-height:12px"><br></div></td><td valign="middle" style="margin:0px;font-family:arial,sans-serif;width:118px"><div style="margin:0px;font-size:10px;font-family:Verdana;color:rgb(37,79,174)"><span style="text-decoration:underline"><a href="http://twitter.com/illusionlabs" style="color:rgb(17,85,204)" target="_blank">twitter.com/illusionlabs</a></span></div></td></tr></tbody></table><br><table cellspacing="0" cellpadding="0"><tbody><tr><td valign="middle" style="margin:0px;font-family:arial,sans-serif;width:136px"><div style="margin:0px;font-size:10px;font-family:Verdana;color:rgb(100,100,100)">Illusion Labs AB</div></td></tr><tr><td valign="middle" style="margin:0px;font-family:arial,sans-serif;width:136px"><div style="margin:0px;font-size:10px;font-family:Verdana;color:rgb(100,100,100)">Kalendegatan 25</div></td></tr><tr><td valign="middle" style="margin:0px;font-family:arial,sans-serif;width:136px"><div style="margin:0px;font-size:10px;font-family:Verdana;color:rgb(100,100,100)">SE-211 35 Malmö, Sweden</div></td></tr></tbody></table><p style="margin:0px 0px 9px;font-size:9px;font-family:Verdana;color:rgb(170,170,170)"><br></p><p style="margin:0px 0px 9px;font-size:9px;font-family:Verdana;color:rgb(170,170,170)">"The information in this e-mail, and attachment(s) thereto, is strictly confidential and may be legally privileged. It is intended solely for the named recipient(s), and access to this e-mail, or any attachment(s) thereto, by anyone else is unauthorized. If you are not the intended recipient please inform the sender by replying to this transmission, and delete the e-mail, its attachment(s), and any copies of it, without disclosing it."</p></span></div></blockquote></div>
</div>