<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - ERROR Load Sound : unable to read file on linux]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=600&amp;type=atom"/>
	<updated>2013-02-28T02:51:07Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=600</id>
		<entry>
			<title type="html"><![CDATA[Re: ERROR Load Sound : unable to read file on linux]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3810#p3810"/>
			<content type="html"><![CDATA[<p>hum... I think I will drop libsndfile...</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-02-28T02:51:07Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3810#p3810</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ERROR Load Sound : unable to read file on linux]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3807#p3807"/>
			<content type="html"><![CDATA[<p>Just to let you know that there seems to be a problem on windows too, with some sounds i got</p><p>OpenAL : Unable to send sound data</p><p>Changing the format, bit rate, sampling rate, mono/sterero, the error remains<br />when converting to aiff i don&#039;t have the OpenAL problem displaying but the sound still didn&#039;t play</p>]]></content>
			<author>
				<name><![CDATA[Vegas]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=53</uri>
			</author>
			<updated>2013-02-27T18:11:42Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3807#p3807</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ERROR Load Sound : unable to read file on linux]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3790#p3790"/>
			<content type="html"><![CDATA[<p>ok, I&#039;ll see what I can do.<br />thank you.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-02-21T17:27:02Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3790#p3790</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ERROR Load Sound : unable to read file on linux]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3789#p3789"/>
			<content type="html"><![CDATA[<p>pre-built library linkage is only matter of name, it must be named libsndfile.so.1 and must change line 42 of file trunk/dev/var/scons/thirdparty/libsndfile.py</p><p>in order to play sounds I found 3 ways that work:<br />1) make maratis links against system libsndfile (on ubuntu this is a default package, don&#039;t know other distros)<br />2) compile libsndfile without external library (this way ogg files are not played)<br />3) compile libsndfile with support for external FLAC/Ogg/Vorbis library (plays ogg files but libogg0 must installed on user&#039;s system, so this solution is much the same as point 1)</p><p>I don&#039;t know if there is a way of compiling libsndfile with libogg0 statically linked, this is beyond my knowledge.</p><p>Lamberto</p>]]></content>
			<author>
				<name><![CDATA[Lamberto]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1345</uri>
			</author>
			<updated>2013-02-21T16:26:40Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3789#p3789</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ERROR Load Sound : unable to read file on linux]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3787#p3787"/>
			<content type="html"><![CDATA[<p>I&#039;m working on it</p>]]></content>
			<author>
				<name><![CDATA[Lamberto]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1345</uri>
			</author>
			<updated>2013-02-21T12:32:51Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3787#p3787</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ERROR Load Sound : unable to read file on linux]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3786#p3786"/>
			<content type="html"><![CDATA[<p>so the pre-built libsndfile.so is not good, and it doesn&#039;t link properly,<br />do you have an idea how we could fix that ?</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-02-21T04:44:02Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3786#p3786</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ERROR Load Sound : unable to read file on linux]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3784#p3784"/>
			<content type="html"><![CDATA[<p>[update]<br />well, I&#039;ve verified that the problem is libsndfile.<br />first of all, ldd MaratisEditor shows how it links against libsndfile.so.1 in system path instead of the one in the boundle. After renaming boundled library it links correctly Anyway this alone doesn&#039;t resolve the problem.<br />I compiled Maratis against system library and only after this operation I&#039;ve got the sounds properly working.</p>]]></content>
			<author>
				<name><![CDATA[Lamberto]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1345</uri>
			</author>
			<updated>2013-02-20T17:30:46Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3784#p3784</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ERROR Load Sound : unable to read file on linux]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3783#p3783"/>
			<content type="html"><![CDATA[<p>ok so it&#039;s not a 32/64 issue,<br />from the error the problem must be with libsndfile, I don&#039;t don&#039;t have a linux to test here unfortunately.</p><p>Just to be sure, you have openAL installed on your linux ?</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-02-20T14:43:15Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3783#p3783</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ERROR Load Sound : unable to read file on linux]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3782#p3782"/>
			<content type="html"><![CDATA[<p>this happens on both builds, I&#039;m using 32 bit Ubuntu linux.<br />I&#039;m looking into the source, for now I found that M_fopen opens the file, so, I believe&nbsp; the problem is elsewhere.</p>]]></content>
			<author>
				<name><![CDATA[Lamberto]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1345</uri>
			</author>
			<updated>2013-02-20T11:00:44Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3782#p3782</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ERROR Load Sound : unable to read file on linux]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3781#p3781"/>
			<content type="html"><![CDATA[<p>is it happening with your own build ? can you check with the current Maratis build ?<br />if you are compiling in 64bit linux, there is maybe an issue with &quot;libsndfile&quot; the library that manage sound files in Maratis, the lib is probably prebuilt in 32 bits.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-02-20T10:45:29Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3781#p3781</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ERROR Load Sound : unable to read file on linux]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3780#p3780"/>
			<content type="html"><![CDATA[<p>I checked other files (wav and ogg) with the same result. I believe the problem is not the sound format, it seems to me that Maratis , for some reason, fails opening the file. I&nbsp; tried to move the project folder in case it was a path name issue but nothing changed.</p>]]></content>
			<author>
				<name><![CDATA[Lamberto]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1345</uri>
			</author>
			<updated>2013-02-20T09:21:29Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3780#p3780</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ERROR Load Sound : unable to read file on linux]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3778#p3778"/>
			<content type="html"><![CDATA[<p>Hi,<br />can you give the detail of the sound ? format ? 8bit / 16 bits etc ?<br />Maratis only supports 16bits mono and stereo.</p><p>But the error indicates it even cannot read the file at all, before testing the format.</p><p>Can you also try with another sound file ? a regular mono or stereo 16 bit 44k.<br />Thanks,</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-02-20T03:06:22Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3778#p3778</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[ERROR Load Sound : unable to read file on linux]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3776#p3776"/>
			<content type="html"><![CDATA[<p>Hello everybody,<br />it seems I&#039;m stuck in a new trouble.<br />I&#039;m trying to figure how to manage sounds, so, I added&nbsp; wav sound file from the editor, set it to loop, but, when I start the game, the console outputs this message: <br /></p><div class="codebox"><pre><code>ERROR Load Sound : unable to read /home/zoiba/Lavoro/Maratis/proj01/sounds/fanfare2.wav file</code></pre></div><p> <br />and I can&#039;t hear any sound.<br />I&#039;ve compiled Maratris in debug mode but no error come up when I run it with GDB , only the console message. <br />I&#039;m working on Ubuntu 12.10</p>]]></content>
			<author>
				<name><![CDATA[Lamberto]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1345</uri>
			</author>
			<updated>2013-02-19T22:55:58Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3776#p3776</id>
		</entry>
</feed>
