<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Libary zum Abspielen von MP3 Dateien]]></title><description><![CDATA[<p>Ich versuche ein 2D Spiel mithilfe von Code::Blocks und WxWidgets zu schreiben. (2D als Spiel) Zumindest brauche ich dafür auch Sound. Was wäre da besser geeignet als MP3 nur bräuche ich eine dll (bzw. so für Linux), oder besser noch eine Headerfile, die mir das Abspielen von Musik möglichst einfach ermöglicht. Am besten mit anhängendem Tutorial für Dumme.^^</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/252516/libary-zum-abspielen-von-mp3-dateien</link><generator>RSS for Node</generator><lastBuildDate>Mon, 14 Sep 2026 09:29:07 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/252516.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Oct 2009 00:11:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 00:11:45 GMT]]></title><description><![CDATA[<p>Ich versuche ein 2D Spiel mithilfe von Code::Blocks und WxWidgets zu schreiben. (2D als Spiel) Zumindest brauche ich dafür auch Sound. Was wäre da besser geeignet als MP3 nur bräuche ich eine dll (bzw. so für Linux), oder besser noch eine Headerfile, die mir das Abspielen von Musik möglichst einfach ermöglicht. Am besten mit anhängendem Tutorial für Dumme.^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1795566</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1795566</guid><dc:creator><![CDATA[Naums]]></dc:creator><pubDate>Wed, 21 Oct 2009 00:11:45 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 00:17:52 GMT]]></title><description><![CDATA[<p>Nach 32 sekunden, harter, google suche.</p>
<p><a href="http://www.ambiera.com/irrklang/tutorial-3dsound.html" rel="nofollow">http://www.ambiera.com/irrklang/tutorial-3dsound.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1795567</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1795567</guid><dc:creator><![CDATA[jesus was black]]></dc:creator><pubDate>Wed, 21 Oct 2009 00:17:52 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 11:43:49 GMT]]></title><description><![CDATA[<p>danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1795742</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1795742</guid><dc:creator><![CDATA[Naums]]></dc:creator><pubDate>Wed, 21 Oct 2009 11:43:49 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 15:51:23 GMT]]></title><description><![CDATA[<p>warum geht dieser Code nicht:</p>
<pre><code class="language-cpp">#include &lt;stdio.h&gt;
#include &lt;irrklang.h&gt;

#if defined(WIN32)
#include &lt;conio.h&gt;
#else
#include &quot;../common/conio.h&quot;
#endif

using namespace irrklang;

#pragma comment(lib, &quot;irrKlang.lib&quot;)
int main(int argc, const char** argv)
{
    ISoundEngine* engine;
    engine = irrklang::createIrrKlangDevice();

    if (!engine)
    {
        printf(&quot;Die Engine konnte nicht gestartet werden \n&quot;);
        return 0;
    }
    else
    {
        engine-&gt;play2D(&quot;01.mp3&quot;,false);
        return 121;
    }
    engine-&gt;drop();
}
</code></pre>
<p>Fehler: <a href="http://linuxvswindows.li.funpic.org/beta/pict/c++/err.jpg" rel="nofollow">http://linuxvswindows.li.funpic.org/beta/pict/c++/err.jpg</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1795874</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1795874</guid><dc:creator><![CDATA[Naums]]></dc:creator><pubDate>Wed, 21 Oct 2009 15:51:23 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 16:05:14 GMT]]></title><description><![CDATA[<p>Das klingt, als hättest du beim Linken eine benötigte Bibliothek nicht mit angegeben. In der Anleitung von diesen &quot;Irrklang&quot; sollte irgendwo stehen wie das Programm zu linken ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1795877</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1795877</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Wed, 21 Oct 2009 16:05:14 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 16:13:26 GMT]]></title><description><![CDATA[<p>1. Da steht eine Warnung, die besagt, dass <code>#pragma comment</code> ignoriert wurde. Du wolltest eine Bibliothek dazulinken, was man beim MS-Compiler mit dieser Anweisung machen kann. Aber dein Compiler kann das nicht.<br />
2. Da steht außerdem eine Fehlermeldung vom Linker, der sich darüber beschwert, dass er eine Funktion nicht finden kann - was wegen 1. logisch ist.</p>
<p>Lösung: finde heraus, wie du deinem Linker die Bibliothek ohne die <code>#pragma</code> -Anweisung bekannt machst.</p>
<p>Uch rate dir, zu Anfang etwas anderes als ausgerechnet Spiele zu programmieren. Die meisten Tutorials von und für Spieleprogrammierer sind von Stümpern geschrieben, die C nicht von C++ unterscheiden können.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1795880</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1795880</guid><dc:creator><![CDATA[Registrierter Troll]]></dc:creator><pubDate>Wed, 21 Oct 2009 16:13:26 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 16:42:28 GMT]]></title><description><![CDATA[<p>zu 1. Das könnte daran liegen, dass der die File nicht findet, ich habe aber keine Ahnung wo die irrlicht.lib liegen soll, bzw. keine Ahnung wo ich die rein schmeißen soll -.-</p>
<p>zu 2. sicher hab ich da was übersehen. Nur was? Was muss ich dem Linker noch geben? ich hab mein Programm dem Code vom Beispiel &quot;Hello World&quot; und auch die Einstellungen angeglichen (kopiert) trotzdem wills einfach nicht klappen -.-</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1795904</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1795904</guid><dc:creator><![CDATA[Naums]]></dc:creator><pubDate>Wed, 21 Oct 2009 16:42:28 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 16:46:18 GMT]]></title><description><![CDATA[<p>Naums schrieb:</p>
<blockquote>
<p>zu 1. Das könnte daran liegen, dass der die File nicht findet</p>
</blockquote>
<p>Möglich wäre es. Die Warnung sagt aber nicht, dass eine Datei nicht gefunden wurde, sondern dass das <code>#pragma</code> ignoriert wurde. Ich schließe daraus, dass der Compiler das comment-pragma nicht kennt. Ich kann mich aber auch irren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1795909</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1795909</guid><dc:creator><![CDATA[Registrierter Troll]]></dc:creator><pubDate>Wed, 21 Oct 2009 16:46:18 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 16:48:56 GMT]]></title><description><![CDATA[<p>ich benutze den MinGW32 der sollte das kennen.</p>
<p>Ich habe ganz einfach nur vergessen dem Linker die Datei ../../lib/libirrKlang.a zu zeigen... Jetzt gehts. danke an euch!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1795910</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1795910</guid><dc:creator><![CDATA[Naums]]></dc:creator><pubDate>Wed, 21 Oct 2009 16:48:56 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 16:50:29 GMT]]></title><description><![CDATA[<p>Wenn ich mich recht erinnere dann ist das lib linken via #pragma comment ein Microsoft Compiler spezifisches Ding, und der Screenshot sieht nicht nach VS aus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1795913</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1795913</guid><dc:creator><![CDATA[schmuessla]]></dc:creator><pubDate>Wed, 21 Oct 2009 16:50:29 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 17:34:11 GMT]]></title><description><![CDATA[<p>VS? Visual Studio? NEEE 1. Visual Studio ist von Microsoft!<br />
2. das, was ich benutze, is Code::Blocks.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1795925</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1795925</guid><dc:creator><![CDATA[Naums]]></dc:creator><pubDate>Wed, 21 Oct 2009 17:34:11 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 18:15:49 GMT]]></title><description><![CDATA[<p>Naums schrieb:</p>
<blockquote>
<p>VS? Visual Studio? NEEE 1. Visual Studio ist von Microsoft!<br />
2. das, was ich benutze, is Code::Blocks.</p>
</blockquote>
<p>darum gehts doch gerade...<br />
und deshalb wird das #pragma comment nicht gehen, weils ne msvc-fkt ist^^</p>
<p>bb</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1795947</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1795947</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Wed, 21 Oct 2009 18:15:49 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 18:42:35 GMT]]></title><description><![CDATA[<p>äh, doch, ich glaube das geht. Das Programm will zumindest ne Irrlicht.dll haben. ^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1795956</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1795956</guid><dc:creator><![CDATA[Naums]]></dc:creator><pubDate>Wed, 21 Oct 2009 18:42:35 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 18:52:00 GMT]]></title><description><![CDATA[<p>Naums schrieb:</p>
<blockquote>
<p>äh, doch, ich glaube das geht.</p>
</blockquote>
<p>Obwohl es dir eigentlich genügend oft gesagt wurde: <strong>Das geht nicht.</strong> Es hat einen Grund, wieso eine Warnung in Zeile 12 kommt. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1795958</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1795958</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Wed, 21 Oct 2009 18:52:00 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 19:06:45 GMT]]></title><description><![CDATA[<p>Also ich würde (ohne gross Irrklang zu kennen) <a href="http://www.fmod.org/" rel="nofollow">fmod</a> empfehlen. Ich bin sehr davon begeistert. Funktioniert sehr einfach und der Support ist auch toll. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /><br />
(habe mal einen Fehler gepostet und Ende der Woche gabs ein neues Build, wo der gefixt war..-&gt; genial).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1795962</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1795962</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Wed, 21 Oct 2009 19:06:45 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 20:34:15 GMT]]></title><description><![CDATA[<p>ääääh. fmod? wie wer so was wann warum? Ich hab mich nun bissl in irrKlang eingefuchst, ich denke ich nehme das, wenn ich dann auch mal ne MP3 selbst abspielen kann ^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1796020</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1796020</guid><dc:creator><![CDATA[Naums]]></dc:creator><pubDate>Wed, 21 Oct 2009 20:34:15 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 21:39:17 GMT]]></title><description><![CDATA[<p>drakon schrieb:</p>
<blockquote>
<p>Also ich würde (ohne gross Irrklang zu kennen) <a href="http://www.fmod.org/" rel="nofollow">fmod</a> empfehlen. Ich bin sehr davon begeistert. Funktioniert sehr einfach und der Support ist auch toll. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /><br />
(habe mal einen Fehler gepostet und Ende der Woche gabs ein neues Build, wo der gefixt war..-&gt; genial).</p>
</blockquote>
<p>Zu teuer. Klar, beide sind kostenlos solange man sie nicht komerziell verwendet. Aber sobald man doch mal ein Produkt verkaufen möchte, ist irrKlang die bessere Wahl. FMOD kostet in der Hobbyist-Version 100USD PRO PRODUKT, sprich 1 Game = 100USD Lizenzkosten. irrKlang kostet die Lizenz 65€ für alles was man je machen wird solange der Preis unter 20€ bleibt für das Produkt. Also bezahlbar und würde sich sogar lohnen.<br />
Will mans komplett kostenfrei nimmt man OpenAL ;).<br />
rya.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1796051</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1796051</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Wed, 21 Oct 2009 21:39:17 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Wed, 21 Oct 2009 22:12:40 GMT]]></title><description><![CDATA[<p>Scorcher24 schrieb:</p>
<blockquote>
<p>drakon schrieb:</p>
<blockquote>
<p>Also ich würde (ohne gross Irrklang zu kennen) <a href="http://www.fmod.org/" rel="nofollow">fmod</a> empfehlen. Ich bin sehr davon begeistert. Funktioniert sehr einfach und der Support ist auch toll. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /><br />
(habe mal einen Fehler gepostet und Ende der Woche gabs ein neues Build, wo der gefixt war..-&gt; genial).</p>
</blockquote>
<p>Zu teuer. Klar, beide sind kostenlos solange man sie nicht komerziell verwendet. Aber sobald man doch mal ein Produkt verkaufen möchte, ist irrKlang die bessere Wahl. FMOD kostet in der Hobbyist-Version 100USD PRO PRODUKT, sprich 1 Game = 100USD Lizenzkosten. irrKlang kostet die Lizenz 65€ für alles was man je machen wird solange der Preis unter 20€ bleibt für das Produkt. Also bezahlbar und würde sich sogar lohnen.<br />
Will mans komplett kostenfrei nimmt man OpenAL ;).<br />
rya.</p>
</blockquote>
<p>lol. ihr fallt auf die ms-obfuscation rein. natürlich reichen bordmittel.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1796067</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1796067</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Wed, 21 Oct 2009 22:12:40 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Thu, 22 Oct 2009 16:19:40 GMT]]></title><description><![CDATA[<p>jetzt bin ich verwirrt! Also mal um das klarzustellen: Ich will nix verkaufen! Ich liebe die GNZ und ihre GPL und werde meine &quot;Produkte&quot;, wenn man das denn so nennen darf, nicht verkaufen, sondern unter der GPL anbieten. Also was war jetzt mit OpenAL und Bordmitteln? Wie kann ich denn da Sounds abspielen? Benötigt der Benutzer dazu bestimmte Codecs?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1796498</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1796498</guid><dc:creator><![CDATA[Naums]]></dc:creator><pubDate>Thu, 22 Oct 2009 16:19:40 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Thu, 22 Oct 2009 16:21:34 GMT]]></title><description><![CDATA[<p>Naums schrieb:</p>
<blockquote>
<p>jetzt bin ich verwirrt! Also mal um das klarzustellen: Ich will nix verkaufen!</p>
</blockquote>
<p>Wenn du nichts verkaufen willst, dann benutz einfach Irrklang.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1796501</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1796501</guid><dc:creator><![CDATA[jesus was black]]></dc:creator><pubDate>Thu, 22 Oct 2009 16:21:34 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Thu, 22 Oct 2009 16:50:22 GMT]]></title><description><![CDATA[<p>ja, dann sag das doch!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1796524</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1796524</guid><dc:creator><![CDATA[Naums]]></dc:creator><pubDate>Thu, 22 Oct 2009 16:50:22 GMT</pubDate></item><item><title><![CDATA[Reply to Libary zum Abspielen von MP3 Dateien on Thu, 22 Oct 2009 18:08:16 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;irrklang.h&gt;

#if defined(WIN32)
#include &lt;conio.h&gt;
#else
#include &quot;conio.h&quot;
#endif

using namespace irrklang;
char FileName[50];
#pragma comment(lib, &quot;irrKlang.lib&quot;)

int main(int argc, const char** argv)
{
    ISoundEngine* engine = createIrrKlangDevice();
    if (!engine)
    {
            printf(&quot;Die Engine konnte nicht gestartet werden. \n&quot;);
    }
    std::cout &lt;&lt; std::endl &lt;&lt;&quot;Bitte geben sie den Pfad zur MusikDatei an.&quot; &lt;&lt; std::endl;
    std::cin &gt;&gt; FileName;
    std::cout &lt;&lt; &quot;Drücken sie 'q' um das Programm zu beenden&quot; &lt;&lt; std::endl;
    engine-&gt;play2D(&quot;media/02.mp3&quot;, true);
    int a = 99999999;
    do
    {
        a-=1;
    }
    while(getch() != 'q');
    engine-&gt;drop();
    return 121;

}
</code></pre>
<p>Das Programm gibt bei mir nur &quot;Could not open Sound file&quot; aus. Was mache ich falsch? die Datei liegt wirklich von der exe ausgehend im Ordner media.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1796603</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1796603</guid><dc:creator><![CDATA[Naums]]></dc:creator><pubDate>Thu, 22 Oct 2009 18:08:16 GMT</pubDate></item></channel></rss>