<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi Andrew,<br>
<br>
I think you'd have to decode each packet independently, then sum the
results, making sure that packets (from different sources) all have
the same number of samples.<br>
<br>
Marc<br>
<br>
<div class="moz-cite-prefix">Le 2022-03-24 à 10 h 14, Andrew
Sonzogni a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:42b7063e7d55d080afc2700b4eb06779@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">Hello,
Yes, I mean mix multiple streams.
Best regards,
Andrew Sonzogni
-----Message d'origine-----
De : Ulrich Windl <a class="moz-txt-link-rfc2396E" href="mailto:Ulrich.Windl@rz.uni-regensburg.de"><Ulrich.Windl@rz.uni-regensburg.de></a>
Envoyé : jeudi 24 mars 2022 15:00
À : <a class="moz-txt-link-abbreviated" href="mailto:andrew@safehear.fr">andrew@safehear.fr</a>; <a class="moz-txt-link-abbreviated" href="mailto:opus@xiph.org">opus@xiph.org</a>
Objet : Antw: [EXT] [opus] Opus merging streams
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Andrew Sonzogni <a class="moz-txt-link-rfc2396E" href="mailto:andrew@safehear.fr"><andrew@safehear.fr></a> schrieb am 24.03.2022 um 14:46
in
</pre>
</blockquote>
</blockquote>
</blockquote>
<pre class="moz-quote-pre" wrap="">Nachricht <a class="moz-txt-link-rfc2396E" href="mailto:592e07eaa0e866e10543cf887948874d@mail.gmail.com"><592e07eaa0e866e10543cf887948874d@mail.gmail.com></a>:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Hello !
I have a question. I'm trying to use Opus on an embedded device which
communicate with several other devices with the same software.
I wanted to know if it's possible to merge Opus packets from different
sources and then decode this merged packet through a normal opus_decode.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
"merge" means "concatenate"? Or "mix"?
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
I receive in real time 3 different streams of 40ms opus packets. As it
would be consuming too much CPU if I decode each packets and then sum
them together, I would like to decode them together.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
"sum" sounds like "mix", right?
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
Best regards,
Andrew Sonzogni
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">_______________________________________________
opus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:opus@xiph.org">opus@xiph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.xiph.org/mailman/listinfo/opus">http://lists.xiph.org/mailman/listinfo/opus</a>
</pre>
</blockquote>
<br>
<div id="grammalecte_menu_main_button_shadow_host" style="width:
0px; height: 0px;"></div>
</body>
</html>