<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Latest Sound Manager Class</title>
	<atom:link href="http://www.71squared.com/2010/01/latest-sound-manager-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.71squared.com/2010/01/latest-sound-manager-class/</link>
	<description>iPhone Game Development - Web Development</description>
	<lastBuildDate>Wed, 28 Jul 2010 17:12:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: sacculi</title>
		<link>http://www.71squared.com/2010/01/latest-sound-manager-class/comment-page-10/#comment-3741</link>
		<dc:creator>sacculi</dc:creator>
		<pubDate>Fri, 23 Jul 2010 22:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1141#comment-3741</guid>
		<description>:( looks like I got the formatting wrong sorry maybe there are tags which I should use. If anyone can help my code is here! thanks so much
sacculi

http://www.sacculi.co.uk/Sobras1_4.zip

the data folder has subfolders where the image and sounds are kept

as I was saying above, it&#039;s trying to load by using a vector of strings passed in when needed using a stringtToNSString function, as I&#039;m mostly writing in c++</description>
		<content:encoded><![CDATA[<p>:( looks like I got the formatting wrong sorry maybe there are tags which I should use. If anyone can help my code is here! thanks so much<br />
sacculi</p>
<p><a href="http://www.sacculi.co.uk/Sobras1_4.zip" rel="nofollow">http://www.sacculi.co.uk/Sobras1_4.zip</a></p>
<p>the data folder has subfolders where the image and sounds are kept</p>
<p>as I was saying above, it&#8217;s trying to load by using a vector of strings passed in when needed using a stringtToNSString function, as I&#8217;m mostly writing in c++</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mic2000</title>
		<link>http://www.71squared.com/2010/01/latest-sound-manager-class/comment-page-10/#comment-3740</link>
		<dc:creator>Mic2000</dc:creator>
		<pubDate>Fri, 23 Jul 2010 22:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1141#comment-3740</guid>
		<description>I can not say much about it, but my problem with simulator of hardware is: in simulator files do not have to be written case sensitive, on the iPhone it does. So on iPhone the next thing does not work: 

[NSString alloc] init:@&quot;sound.wav&quot;];
this does not work if the file is &quot;Sound.wav&quot;

Correction:
[NSString alloc] init:@&quot;Sound.wav&quot;];

I don&#039;t think it is the problem, but just had to type it!</description>
		<content:encoded><![CDATA[<p>I can not say much about it, but my problem with simulator of hardware is: in simulator files do not have to be written case sensitive, on the iPhone it does. So on iPhone the next thing does not work: </p>
<p>[NSString alloc] init:@&#8221;sound.wav&#8221;];<br />
this does not work if the file is &#8220;Sound.wav&#8221;</p>
<p>Correction:<br />
[NSString alloc] init:@&#8221;Sound.wav&#8221;];</p>
<p>I don&#8217;t think it is the problem, but just had to type it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sacculi</title>
		<link>http://www.71squared.com/2010/01/latest-sound-manager-class/comment-page-10/#comment-3739</link>
		<dc:creator>sacculi</dc:creator>
		<pubDate>Fri, 23 Jul 2010 22:29:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1141#comment-3739</guid>
		<description>sorry last post was scrambled, trying again:

Hi
I&#039;ve been enjoying using soundManager to load sounds into a comic I&#039;m making but I&#039;ve hit an issue. I have an error after the sixth file tries to load. I am calling the contents of a directory, names of files, and passing them in as strings converted to NSStrings (I should add I am writing using openFrameworks http://www.openframeworks.cc) in which most of my code is c++ and into which I am dropping handling sound.
So my idea is:
a vector of strings..
vector  justSounds;

and in my main code, to load and play a first sound:
for (int i = 0; i= 40-radius &amp;&amp; touch.x = 430-radius &amp;&amp; touch.y &lt;= 430+radius){
									
			currentImage++;
			
						
			
			
			currentImage %= nImages;
			
			images[0].clear();
			images[0].loadImage(IMG.getPath(currentImage));
			
			[sharedSoundManager removeSoundWithKey:stringToNSString(justSounds[currentSound])];
			
			currentSound++;
			
			cout &lt;&lt; SOUND.getName(currentSound) &lt;&lt; &quot; sound name value\n&quot;;

			
			
			[sharedSoundManager loadSoundWithKey:stringToNSString(justSounds[currentSound]) musicFile:stringToNSString(justSounds[currentSound])];
			
			[sharedSoundManager playSoundWithKey:stringToNSString(justSounds[currentSound]) gain:1.0f pitch:1.0f location:CGPointMake(0, 0) shouldLoop:NO sourceID:-1]; 


This is where the console shows the first few sounds appearing to load and play fine (and they do in the simulator) I hit the crash at image 6, and I don&#039;t understand what I&#039;m doing wrong

console:
2010-07-23 23:18:32.035 Sobras1[657:207] ERROR - SoundManager: Error setting audio session category! -50
2010-07-23 23:18:32.037 Sobras1[657:207] INFO - Sound Manager: Initializing sound manager
AudioStreamBasicDescription:  2 ch,  44100 Hz, &#039;lpcm&#039; (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved
2010-07-23 23:18:32.083 Sobras1[657:207] AddRunningClient starting device on non-zero client count
2010-07-23 23:18:35.659 Sobras1[657:207] INFO - Sound Manager: Finished initializing the sound manager
2010-07-23 23:18:35.673 Sobras1[657:207] INFO - SoundManager: Loaded sound with key &#039;001-1&#039; into buffer &#039;2416&#039;
OF_VERBOSE: setFrameRate 60.000 using NSTimer
2010-07-23 23:18:35.677 Sobras1[657:207] INFO - SoundManager: OpenAL Active
2010-07-23 23:18:35.677 Sobras1[657:207] ERROR - SoundManager: Unable to set the audio session category
OF_NOTICE: Device orientation changed to 1
2010-07-23 23:18:41.649 Sobras1[657:207] INFO - SoundManager: Removed sound with key &#039;001-1&#039;
002-1 sound name value
2010-07-23 23:18:41.653 Sobras1[657:207] INFO - SoundManager: Loaded sound with key &#039;002-1&#039; into buffer &#039;2417&#039;
2010-07-23 23:18:51.780 Sobras1[657:207] INFO - SoundManager: Removed sound with key &#039;002-1&#039;
003-1 sound name value
2010-07-23 23:18:51.784 Sobras1[657:207] INFO - SoundManager: Loaded sound with key &#039;003-1&#039; into buffer &#039;2418&#039;
2010-07-23 23:18:54.619 Sobras1[657:207] INFO - SoundManager: Removed sound with key &#039;003-1&#039;
004-1 sound name value
2010-07-23 23:18:54.626 Sobras1[657:207] INFO - SoundManager: Loaded sound with key &#039;004-1&#039; into buffer &#039;2419&#039;
2010-07-23 23:18:57.531 Sobras1[657:207] INFO - SoundManager: Removed sound with key &#039;004-1&#039;
005-1 sound name value
2010-07-23 23:18:57.536 Sobras1[657:207] INFO - SoundManager: Loaded sound with key &#039;005-1&#039; into buffer &#039;2420&#039;
2010-07-23 23:19:04.746 Sobras1[657:207] INFO - SoundManager: Removed sound with key &#039;005-1&#039;
006-1 sound name value
2010-07-23 23:19:04.750 Sobras1[657:207] *** Terminating app due to uncaught exception &#039;NSInvalidArgumentException&#039;, reason: &#039;*** -[NSURL initFileURLWithPath:]: nil string parameter&#039;
*** Call stack at first throw:
(

thanks for any help! 

sacculi</description>
		<content:encoded><![CDATA[<p>sorry last post was scrambled, trying again:</p>
<p>Hi<br />
I&#8217;ve been enjoying using soundManager to load sounds into a comic I&#8217;m making but I&#8217;ve hit an issue. I have an error after the sixth file tries to load. I am calling the contents of a directory, names of files, and passing them in as strings converted to NSStrings (I should add I am writing using openFrameworks <a href="http://www.openframeworks.cc)" rel="nofollow">http://www.openframeworks.cc)</a> in which most of my code is c++ and into which I am dropping handling sound.<br />
So my idea is:<br />
a vector of strings..<br />
vector  justSounds;</p>
<p>and in my main code, to load and play a first sound:<br />
for (int i = 0; i= 40-radius &amp;&amp; touch.x = 430-radius &amp;&amp; touch.y &lt;= 430+radius){</p>
<p>			currentImage++;</p>
<p>			currentImage %= nImages;</p>
<p>			images[0].clear();<br />
			images[0].loadImage(IMG.getPath(currentImage));</p>
<p>			[sharedSoundManager removeSoundWithKey:stringToNSString(justSounds[currentSound])];</p>
<p>			currentSound++;</p>
<p>			cout &lt;&lt; SOUND.getName(currentSound) &lt;&lt; &quot; sound name value\n&quot;;</p>
<p>			[sharedSoundManager loadSoundWithKey:stringToNSString(justSounds[currentSound]) musicFile:stringToNSString(justSounds[currentSound])];</p>
<p>			[sharedSoundManager playSoundWithKey:stringToNSString(justSounds[currentSound]) gain:1.0f pitch:1.0f location:CGPointMake(0, 0) shouldLoop:NO sourceID:-1]; </p>
<p>This is where the console shows the first few sounds appearing to load and play fine (and they do in the simulator) I hit the crash at image 6, and I don&#039;t understand what I&#039;m doing wrong</p>
<p>console:<br />
2010-07-23 23:18:32.035 Sobras1[657:207] ERROR &#8211; SoundManager: Error setting audio session category! -50<br />
2010-07-23 23:18:32.037 Sobras1[657:207] INFO &#8211; Sound Manager: Initializing sound manager<br />
AudioStreamBasicDescription:  2 ch,  44100 Hz, &#039;lpcm&#039; (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved<br />
2010-07-23 23:18:32.083 Sobras1[657:207] AddRunningClient starting device on non-zero client count<br />
2010-07-23 23:18:35.659 Sobras1[657:207] INFO &#8211; Sound Manager: Finished initializing the sound manager<br />
2010-07-23 23:18:35.673 Sobras1[657:207] INFO &#8211; SoundManager: Loaded sound with key &#039;001-1&#039; into buffer &#039;2416&#039;<br />
OF_VERBOSE: setFrameRate 60.000 using NSTimer<br />
2010-07-23 23:18:35.677 Sobras1[657:207] INFO &#8211; SoundManager: OpenAL Active<br />
2010-07-23 23:18:35.677 Sobras1[657:207] ERROR &#8211; SoundManager: Unable to set the audio session category<br />
OF_NOTICE: Device orientation changed to 1<br />
2010-07-23 23:18:41.649 Sobras1[657:207] INFO &#8211; SoundManager: Removed sound with key &#039;001-1&#039;<br />
002-1 sound name value<br />
2010-07-23 23:18:41.653 Sobras1[657:207] INFO &#8211; SoundManager: Loaded sound with key &#039;002-1&#039; into buffer &#039;2417&#039;<br />
2010-07-23 23:18:51.780 Sobras1[657:207] INFO &#8211; SoundManager: Removed sound with key &#039;002-1&#039;<br />
003-1 sound name value<br />
2010-07-23 23:18:51.784 Sobras1[657:207] INFO &#8211; SoundManager: Loaded sound with key &#039;003-1&#039; into buffer &#039;2418&#039;<br />
2010-07-23 23:18:54.619 Sobras1[657:207] INFO &#8211; SoundManager: Removed sound with key &#039;003-1&#039;<br />
004-1 sound name value<br />
2010-07-23 23:18:54.626 Sobras1[657:207] INFO &#8211; SoundManager: Loaded sound with key &#039;004-1&#039; into buffer &#039;2419&#039;<br />
2010-07-23 23:18:57.531 Sobras1[657:207] INFO &#8211; SoundManager: Removed sound with key &#039;004-1&#039;<br />
005-1 sound name value<br />
2010-07-23 23:18:57.536 Sobras1[657:207] INFO &#8211; SoundManager: Loaded sound with key &#039;005-1&#039; into buffer &#039;2420&#039;<br />
2010-07-23 23:19:04.746 Sobras1[657:207] INFO &#8211; SoundManager: Removed sound with key &#039;005-1&#039;<br />
006-1 sound name value<br />
2010-07-23 23:19:04.750 Sobras1[657:207] *** Terminating app due to uncaught exception &#039;NSInvalidArgumentException&#039;, reason: &#039;*** -[NSURL initFileURLWithPath:]: nil string parameter&#039;<br />
*** Call stack at first throw:<br />
(</p>
<p>thanks for any help! </p>
<p>sacculi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sacculi</title>
		<link>http://www.71squared.com/2010/01/latest-sound-manager-class/comment-page-10/#comment-3738</link>
		<dc:creator>sacculi</dc:creator>
		<pubDate>Fri, 23 Jul 2010 22:26:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1141#comment-3738</guid>
		<description>Hi
I&#039;ve been enjoying using soundManager to load sounds into a comic I&#039;m making but I&#039;ve hit an issue. I have an error after the sixth file tries to load. I am calling the contents of a directory, names of files, and passing them in as strings converted to NSStrings (I should add I am writing using openFrameworks http://www.openframeworks.cc) in which most of my code is c++ and into which I am dropping handling sound.
So my idea is:
a vector of strings..
vector  justSounds;

and in my main code, to load and play a first sound:
for (int i = 0; i= 40-radius &amp;&amp; touch.x = 430-radius &amp;&amp; touch.y &lt;= 430+radius){
									
			currentImage++;
			
						
			
			
			currentImage %= nImages;
			
			images[0].clear();
			images[0].loadImage(IMG.getPath(currentImage));
			
			[sharedSoundManager removeSoundWithKey:stringToNSString(justSounds[currentSound])];
			
			currentSound++;
			
			cout &lt;&lt; SOUND.getName(currentSound) &lt;&lt; &quot; sound name value\n&quot;;

			
			
			[sharedSoundManager loadSoundWithKey:stringToNSString(justSounds[currentSound]) musicFile:stringToNSString(justSounds[currentSound])];
			
			[sharedSoundManager playSoundWithKey:stringToNSString(justSounds[currentSound]) gain:1.0f pitch:1.0f location:CGPointMake(0, 0) shouldLoop:NO sourceID:-1]; 


This is where the console shows the first few sounds appearing to load and play fine (and they do in the simulator) I hit the crash at image 6, and I don&#039;t understand what I&#039;m doing wrong

console:
2010-07-23 23:18:32.035 Sobras1[657:207] ERROR - SoundManager: Error setting audio session category! -50
2010-07-23 23:18:32.037 Sobras1[657:207] INFO - Sound Manager: Initializing sound manager
AudioStreamBasicDescription:  2 ch,  44100 Hz, &#039;lpcm&#039; (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved
2010-07-23 23:18:32.083 Sobras1[657:207] AddRunningClient starting device on non-zero client count
2010-07-23 23:18:35.659 Sobras1[657:207] INFO - Sound Manager: Finished initializing the sound manager
2010-07-23 23:18:35.673 Sobras1[657:207] INFO - SoundManager: Loaded sound with key &#039;001-1&#039; into buffer &#039;2416&#039;
OF_VERBOSE: setFrameRate 60.000 using NSTimer
2010-07-23 23:18:35.677 Sobras1[657:207] INFO - SoundManager: OpenAL Active
2010-07-23 23:18:35.677 Sobras1[657:207] ERROR - SoundManager: Unable to set the audio session category
OF_NOTICE: Device orientation changed to 1
2010-07-23 23:18:41.649 Sobras1[657:207] INFO - SoundManager: Removed sound with key &#039;001-1&#039;
002-1 sound name value
2010-07-23 23:18:41.653 Sobras1[657:207] INFO - SoundManager: Loaded sound with key &#039;002-1&#039; into buffer &#039;2417&#039;
2010-07-23 23:18:51.780 Sobras1[657:207] INFO - SoundManager: Removed sound with key &#039;002-1&#039;
003-1 sound name value
2010-07-23 23:18:51.784 Sobras1[657:207] INFO - SoundManager: Loaded sound with key &#039;003-1&#039; into buffer &#039;2418&#039;
2010-07-23 23:18:54.619 Sobras1[657:207] INFO - SoundManager: Removed sound with key &#039;003-1&#039;
004-1 sound name value
2010-07-23 23:18:54.626 Sobras1[657:207] INFO - SoundManager: Loaded sound with key &#039;004-1&#039; into buffer &#039;2419&#039;
2010-07-23 23:18:57.531 Sobras1[657:207] INFO - SoundManager: Removed sound with key &#039;004-1&#039;
005-1 sound name value
2010-07-23 23:18:57.536 Sobras1[657:207] INFO - SoundManager: Loaded sound with key &#039;005-1&#039; into buffer &#039;2420&#039;
2010-07-23 23:19:04.746 Sobras1[657:207] INFO - SoundManager: Removed sound with key &#039;005-1&#039;
006-1 sound name value
2010-07-23 23:19:04.750 Sobras1[657:207] *** Terminating app due to uncaught exception &#039;NSInvalidArgumentException&#039;, reason: &#039;*** -[NSURL initFileURLWithPath:]: nil string parameter&#039;
*** Call stack at first throw:
(

thanks for any help! 

sacculi</description>
		<content:encoded><![CDATA[<p>Hi<br />
I&#8217;ve been enjoying using soundManager to load sounds into a comic I&#8217;m making but I&#8217;ve hit an issue. I have an error after the sixth file tries to load. I am calling the contents of a directory, names of files, and passing them in as strings converted to NSStrings (I should add I am writing using openFrameworks <a href="http://www.openframeworks.cc)" rel="nofollow">http://www.openframeworks.cc)</a> in which most of my code is c++ and into which I am dropping handling sound.<br />
So my idea is:<br />
a vector of strings..<br />
vector  justSounds;</p>
<p>and in my main code, to load and play a first sound:<br />
for (int i = 0; i= 40-radius &amp;&amp; touch.x = 430-radius &amp;&amp; touch.y &lt;= 430+radius){</p>
<p>			currentImage++;</p>
<p>			currentImage %= nImages;</p>
<p>			images[0].clear();<br />
			images[0].loadImage(IMG.getPath(currentImage));</p>
<p>			[sharedSoundManager removeSoundWithKey:stringToNSString(justSounds[currentSound])];</p>
<p>			currentSound++;</p>
<p>			cout &lt;&lt; SOUND.getName(currentSound) &lt;&lt; &quot; sound name value\n&quot;;</p>
<p>			[sharedSoundManager loadSoundWithKey:stringToNSString(justSounds[currentSound]) musicFile:stringToNSString(justSounds[currentSound])];</p>
<p>			[sharedSoundManager playSoundWithKey:stringToNSString(justSounds[currentSound]) gain:1.0f pitch:1.0f location:CGPointMake(0, 0) shouldLoop:NO sourceID:-1]; </p>
<p>This is where the console shows the first few sounds appearing to load and play fine (and they do in the simulator) I hit the crash at image 6, and I don&#039;t understand what I&#039;m doing wrong</p>
<p>console:<br />
2010-07-23 23:18:32.035 Sobras1[657:207] ERROR &#8211; SoundManager: Error setting audio session category! -50<br />
2010-07-23 23:18:32.037 Sobras1[657:207] INFO &#8211; Sound Manager: Initializing sound manager<br />
AudioStreamBasicDescription:  2 ch,  44100 Hz, &#039;lpcm&#039; (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved<br />
2010-07-23 23:18:32.083 Sobras1[657:207] AddRunningClient starting device on non-zero client count<br />
2010-07-23 23:18:35.659 Sobras1[657:207] INFO &#8211; Sound Manager: Finished initializing the sound manager<br />
2010-07-23 23:18:35.673 Sobras1[657:207] INFO &#8211; SoundManager: Loaded sound with key &#039;001-1&#039; into buffer &#039;2416&#039;<br />
OF_VERBOSE: setFrameRate 60.000 using NSTimer<br />
2010-07-23 23:18:35.677 Sobras1[657:207] INFO &#8211; SoundManager: OpenAL Active<br />
2010-07-23 23:18:35.677 Sobras1[657:207] ERROR &#8211; SoundManager: Unable to set the audio session category<br />
OF_NOTICE: Device orientation changed to 1<br />
2010-07-23 23:18:41.649 Sobras1[657:207] INFO &#8211; SoundManager: Removed sound with key &#039;001-1&#039;<br />
002-1 sound name value<br />
2010-07-23 23:18:41.653 Sobras1[657:207] INFO &#8211; SoundManager: Loaded sound with key &#039;002-1&#039; into buffer &#039;2417&#039;<br />
2010-07-23 23:18:51.780 Sobras1[657:207] INFO &#8211; SoundManager: Removed sound with key &#039;002-1&#039;<br />
003-1 sound name value<br />
2010-07-23 23:18:51.784 Sobras1[657:207] INFO &#8211; SoundManager: Loaded sound with key &#039;003-1&#039; into buffer &#039;2418&#039;<br />
2010-07-23 23:18:54.619 Sobras1[657:207] INFO &#8211; SoundManager: Removed sound with key &#039;003-1&#039;<br />
004-1 sound name value<br />
2010-07-23 23:18:54.626 Sobras1[657:207] INFO &#8211; SoundManager: Loaded sound with key &#039;004-1&#039; into buffer &#039;2419&#039;<br />
2010-07-23 23:18:57.531 Sobras1[657:207] INFO &#8211; SoundManager: Removed sound with key &#039;004-1&#039;<br />
005-1 sound name value<br />
2010-07-23 23:18:57.536 Sobras1[657:207] INFO &#8211; SoundManager: Loaded sound with key &#039;005-1&#039; into buffer &#039;2420&#039;<br />
2010-07-23 23:19:04.746 Sobras1[657:207] INFO &#8211; SoundManager: Removed sound with key &#039;005-1&#039;<br />
006-1 sound name value<br />
2010-07-23 23:19:04.750 Sobras1[657:207] *** Terminating app due to uncaught exception &#039;NSInvalidArgumentException&#039;, reason: &#039;*** -[NSURL initFileURLWithPath:]: nil string parameter&#039;<br />
*** Call stack at first throw:<br />
(</p>
<p>thanks for any help! </p>
<p>sacculi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benoit</title>
		<link>http://www.71squared.com/2010/01/latest-sound-manager-class/comment-page-9/#comment-3599</link>
		<dc:creator>Benoit</dc:creator>
		<pubDate>Tue, 15 Jun 2010 18:24:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1141#comment-3599</guid>
		<description>Uhm... oops. Haha. Yeah. I forgot the AVFoundation framework. Well I finally tested it, and you&#039;re right, no leaks. I guess I have some debugging to do. If anyone has a clue what could be wrong with my other project causing a leak with the line &quot;alcMakeContextCurrent(context)&quot;, please let me know because I&#039;m clueless! lol. Thank you!</description>
		<content:encoded><![CDATA[<p>Uhm&#8230; oops. Haha. Yeah. I forgot the AVFoundation framework. Well I finally tested it, and you&#8217;re right, no leaks. I guess I have some debugging to do. If anyone has a clue what could be wrong with my other project causing a leak with the line &#8220;alcMakeContextCurrent(context)&#8221;, please let me know because I&#8217;m clueless! lol. Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benoit</title>
		<link>http://www.71squared.com/2010/01/latest-sound-manager-class/comment-page-9/#comment-3598</link>
		<dc:creator>Benoit</dc:creator>
		<pubDate>Tue, 15 Jun 2010 18:09:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1141#comment-3598</guid>
		<description>Hi Mic2000,

I get weird errors when I try to add the classes to an empty project. I added all the required frameworks (OpenAL, AudioToolbox, CoreAudio) but I get errors like these:

  &quot;_AVAudioSessionCategorySoloAmbient&quot;, referenced from:
    _AVAudioSessionCategorySoloAmbient$non_lazy_ptr in SoundManager.o

  &quot;_OBJC_CLASS_$_AVAudioSession&quot;, referenced from:
      objc-class-ref-to-AVAudioSession in SoundManager.o

  &quot;_AVAudioSessionCategoryAmbient&quot;, referenced from:
      _AVAudioSessionCategoryAmbient$non_lazy_ptr in SoundManager.o

I really don&#039;t understand what&#039;s going on. Haha sorry for disturbing you... I&#039;m not even able to create a new project correctly. xD

Anyways, I guess I&#039;ll try to figure it out later. Thank you very much for your help. Very appreciated.

Benoit</description>
		<content:encoded><![CDATA[<p>Hi Mic2000,</p>
<p>I get weird errors when I try to add the classes to an empty project. I added all the required frameworks (OpenAL, AudioToolbox, CoreAudio) but I get errors like these:</p>
<p>  &#8220;_AVAudioSessionCategorySoloAmbient&#8221;, referenced from:<br />
    _AVAudioSessionCategorySoloAmbient$non_lazy_ptr in SoundManager.o</p>
<p>  &#8220;_OBJC_CLASS_$_AVAudioSession&#8221;, referenced from:<br />
      objc-class-ref-to-AVAudioSession in SoundManager.o</p>
<p>  &#8220;_AVAudioSessionCategoryAmbient&#8221;, referenced from:<br />
      _AVAudioSessionCategoryAmbient$non_lazy_ptr in SoundManager.o</p>
<p>I really don&#8217;t understand what&#8217;s going on. Haha sorry for disturbing you&#8230; I&#8217;m not even able to create a new project correctly. xD</p>
<p>Anyways, I guess I&#8217;ll try to figure it out later. Thank you very much for your help. Very appreciated.</p>
<p>Benoit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mic2000</title>
		<link>http://www.71squared.com/2010/01/latest-sound-manager-class/comment-page-9/#comment-3597</link>
		<dc:creator>Mic2000</dc:creator>
		<pubDate>Tue, 15 Jun 2010 17:28:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1141#comment-3597</guid>
		<description>Hi Benoit,

I used the latest iOS 4.0 GM Seed (well there is only one). The funny story is that when I changed the soundmanager class from V3 to V4, I did not had it changed properly, because the files were referring towards an other directory.

But hey, try starting a new openGL project, add the classes (just download them again from Mike&#039;s comment to be sure) and let it work in the new xcode project. I gave it a try yesterday evening and everything worked well in a new project.

Goodluck!</description>
		<content:encoded><![CDATA[<p>Hi Benoit,</p>
<p>I used the latest iOS 4.0 GM Seed (well there is only one). The funny story is that when I changed the soundmanager class from V3 to V4, I did not had it changed properly, because the files were referring towards an other directory.</p>
<p>But hey, try starting a new openGL project, add the classes (just download them again from Mike&#8217;s comment to be sure) and let it work in the new xcode project. I gave it a try yesterday evening and everything worked well in a new project.</p>
<p>Goodluck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benoit</title>
		<link>http://www.71squared.com/2010/01/latest-sound-manager-class/comment-page-9/#comment-3596</link>
		<dc:creator>Benoit</dc:creator>
		<pubDate>Tue, 15 Jun 2010 16:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1141#comment-3596</guid>
		<description>Hi Mic2000,

Thanks for responding. Do you have iOS4 on (one of) those devices? I had no problem with previous versions of the iPhone OS either... I just found the cause of the leaks: it&#039;s one line, in the initOpenAL method: alcMakeContextCurrent(context). When I comment it out, I get no leaks at all on the device, but the sounds won&#039;t play, obviously (the music does, though). I really don&#039;t know why it&#039;s causing leaks, so I have no idea how to fix it. :S

Benoit</description>
		<content:encoded><![CDATA[<p>Hi Mic2000,</p>
<p>Thanks for responding. Do you have iOS4 on (one of) those devices? I had no problem with previous versions of the iPhone OS either&#8230; I just found the cause of the leaks: it&#8217;s one line, in the initOpenAL method: alcMakeContextCurrent(context). When I comment it out, I get no leaks at all on the device, but the sounds won&#8217;t play, obviously (the music does, though). I really don&#8217;t know why it&#8217;s causing leaks, so I have no idea how to fix it. :S</p>
<p>Benoit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mic2000</title>
		<link>http://www.71squared.com/2010/01/latest-sound-manager-class/comment-page-9/#comment-3594</link>
		<dc:creator>Mic2000</dc:creator>
		<pubDate>Tue, 15 Jun 2010 09:27:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1141#comment-3594</guid>
		<description>Hi Benoit,

I keep my fingers crossed, but so far testing my app on my iPhone, iPod Touch and iPad gives me no leaks on the soundmanager class, or anything sound related.

Good luck!</description>
		<content:encoded><![CDATA[<p>Hi Benoit,</p>
<p>I keep my fingers crossed, but so far testing my app on my iPhone, iPod Touch and iPad gives me no leaks on the soundmanager class, or anything sound related.</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mic2000</title>
		<link>http://www.71squared.com/2010/01/latest-sound-manager-class/comment-page-9/#comment-3593</link>
		<dc:creator>Mic2000</dc:creator>
		<pubDate>Tue, 15 Jun 2010 07:12:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1141#comment-3593</guid>
		<description>I had leaks in the simulator, but on the iPhone allmost none. You should Hove it a try, I will test it today on leaks, wou will hear from me!</description>
		<content:encoded><![CDATA[<p>I had leaks in the simulator, but on the iPhone allmost none. You should Hove it a try, I will test it today on leaks, wou will hear from me!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
