<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
<div>Hello,<br></div><div dir="auto">to run MP3 files, the "mpegaudioparse" plugin is not enough.<br></div><div dir="auto">"mpg123audiodec" should also be added.<br></div><div dir="auto"><br></div><div dir="auto">For OGG files I would use the "oggdemux" and "vorbisdec" plugins, then linking both with the ".LinkLaterTo()" Method.<br></div><div dir="auto"><br></div><div dir="auto">See:<br></div><div dir="auto"><a href="https://www.gambas-it.org/wiki/index.php/Eseguire_i_file_audio_mediante_la_Classe_%27%27MediaPipeline%27%27_del_componente_gb.media#Eseguire_un_file_MP3" rel="noopener noreferrer" target="_blank">https://www.gambas-it.org/wiki/index.php/Eseguire_i_file_audio_mediante_la_Classe_%27%27MediaPipeline%27%27_del_componente_gb.media#Eseguire_un_file_MP3</a></div><div dir="auto"><br></div><div dir="auto"><br></div><div><br></div><div><br></div><div dir="auto"><br></div><div>15 gen 2024, 13:04 da 64xcode@gmail.com:<br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div>Hi,<br></div><div><br></div><div>I want to play 2 tracks at the same time wit the "MediaPipeline" class.<br></div><div><br></div><div>Claus solve the problem for internet streams using a "MediaContainer" class but I cant do it for 2 local media files, such mp3, ogg, aac etc.<br></div><div><br></div><div>Then I mod the sample (see attachment) from gambas-it.org/wiki [1] but doesn't  work.<br></div><div><br></div><div>So I share this little project if you want to test it.<br></div><div><br></div><div>Note: I wan to do more things in the near future, such manage the volume independently for each file or mute some of them, join all the tracks in one file.<br></div><div><br></div><div>[1] https://www.gambas-it.org/wiki/index.php/Eseguire_due_o_pi%C3%B9_file_audio_contemporaneamente_mediante_la_Classe_%27%27MediaPipeline%27%27_del_componente_gb.media<br></div><div><br></div><div>Thanks.<br></div><div><br></div><div>Martin.<br></div></blockquote><div dir="auto"><br></div>  </body>
</html>