<div dir="ltr">Hello,<div><br></div><div>I'm building a project in <a href="http://libcinder.org">Cinder</a> (Using XCode) that uses aubio, and I'm having a little difficulty getting up and running, specifically looking at methods in specdesc.h . When I create a new_aubio_onset(), string literal conversion to char_t* is deprecated in C++. In other words, </div>
<div><br></div><div>
<p class="">new_aubio_onset<span class=""> (</span><span class="">"energy"</span><span class="">, </span>winsize<span class="">, </span>hop_s<span class="">, </span>samplerate<span class="">);</span></p><p class="">
<span class="">won't work. Is there a preferred way of handling these method parameters in C++?</span></p><div>Thanks for any help in advance!</div>-- <br><div dir="ltr"><pre style="font-size:0.9em;vertical-align:baseline;margin-top:0.5em;margin-bottom:0.5em;padding:1em;outline:0px;border:0px;word-wrap:break-word;font-family:Consolas,Monaco,'Andale Mono',monospace;color:black;overflow:auto;direction:ltr;line-height:25.75px;background-color:rgb(245,242,240)">
<code style="font-size:0.9em;vertical-align:baseline;margin:0px;padding:0px;outline:0px;border:0px;word-wrap:break-word;font-family:Consolas,Monaco,'Andale Mono',monospace;direction:ltr;word-spacing:normal">Kevin Siwoff . data + sound + vision
// <a href="http://studioindefinit.com" target="_blank">http://studioindefinit.com</a></code></pre></div>
</div></div>