<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<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">
	<channel>
		<title>cocos2d for iPhone &#187; Topic: Audio File Format Support : How to play .caf file</title>
		<link>http://www.cocos2d-iphone.org/forum/topic/3943</link>
		<description>A fast, easy to use, free, and community supported 2D game engine</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 01:52:31 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.cocos2d-iphone.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.cocos2d-iphone.org/forum/rss/topic/3943" rel="self" type="application/rss+xml" />

		<item>
			<title>pravin on "Audio File Format Support : How to play .caf file"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/3943#post-23661</link>
			<pubDate>Tue, 19 Jan 2010 07:43:56 +0000</pubDate>
			<dc:creator>pravin</dc:creator>
			<guid isPermaLink="false">23661@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Thanks you very much Steve, for follow up.</p>
<p>These .caf files are played on device.<br />
We have tested on simulator and found that .caf files were not played on simulator but .wav files are played on simulator.</p>
<p>Thanks,<br />
Pravin
</p></description>
		</item>
		<item>
			<title>Steve Oldmeadow on "Audio File Format Support : How to play .caf file"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/3943#post-23659</link>
			<pubDate>Tue, 19 Jan 2010 06:49:56 +0000</pubDate>
			<dc:creator>Steve Oldmeadow</dc:creator>
			<guid isPermaLink="false">23659@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Do a debug build and then post the complete console output from CocosDenshion.</p>
<p>Edit: and make sure you are testing on a device and NOT the simulator.
</p></description>
		</item>
		<item>
			<title>pravin on "Audio File Format Support : How to play .caf file"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/3943#post-23657</link>
			<pubDate>Tue, 19 Jan 2010 06:12:25 +0000</pubDate>
			<dc:creator>pravin</dc:creator>
			<guid isPermaLink="false">23657@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>we are playing background sound files by following code<br />
// Preload the sound<br />
[[SimpleAudioEngine sharedEngine]preloadBackgroundMusic:@"bgMusic.caf"] ;<br />
// Play the background music<br />
[[SimpleAudioEngine sharedEngine] playBackgroundMusic:@"bgMusic.caf"] ;<br />
But the same sound file of wave format will play with same code<br />
   [[SimpleAudioEngine sharedEngine] playBackgroundMusic:@"bgMusic.wav"] ;
</p></description>
		</item>
		<item>
			<title>pravin on "Audio File Format Support : How to play .caf file"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/3943#post-23656</link>
			<pubDate>Tue, 19 Jan 2010 06:08:26 +0000</pubDate>
			<dc:creator>pravin</dc:creator>
			<guid isPermaLink="false">23656@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Yes , my code is based on Sapus Tongue from June last year.<br />
Now we have added the CocosDenshion in our code.<br />
(We are converted .wav to .caf by executing following command from terminal :  afconvert -f caff -d ima4 bullet_fire.wav ).<br />
These .caf file are not played using CocosDenshion library but the same .wav files are played.<br />
Please help us.
</p></description>
		</item>
		<item>
			<title>Steve Oldmeadow on "Audio File Format Support : How to play .caf file"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/3943#post-23651</link>
			<pubDate>Tue, 19 Jan 2010 05:20:36 +0000</pubDate>
			<dc:creator>Steve Oldmeadow</dc:creator>
			<guid isPermaLink="false">23651@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>CocosDenshion is free and ships with cocos2d.  I recommend you use the version in the 0.82 release of cocos2d as that will be compatible with your code if it was based on Sapus Tongue from June last year.
</p></description>
		</item>
		<item>
			<title>pravin on "Audio File Format Support : How to play .caf file"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/3943#post-23649</link>
			<pubDate>Tue, 19 Jan 2010 05:00:03 +0000</pubDate>
			<dc:creator>pravin</dc:creator>
			<guid isPermaLink="false">23649@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Thanks Steve , but from where we get this CocosDenshion library files.<br />
Should we need to purchase it ?
</p></description>
		</item>
		<item>
			<title>pravin on "Audio File Format Support : How to play .caf file"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/3943#post-23647</link>
			<pubDate>Tue, 19 Jan 2010 04:55:09 +0000</pubDate>
			<dc:creator>pravin</dc:creator>
			<guid isPermaLink="false">23647@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>We are running following command from terminal to convert .wav file to .caf<br />
afconvert -f caff -d ima4 bullet_fire.wav
</p></description>
		</item>
		<item>
			<title>Steve Oldmeadow on "Audio File Format Support : How to play .caf file"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/3943#post-23633</link>
			<pubDate>Mon, 18 Jan 2010 23:58:09 +0000</pubDate>
			<dc:creator>Steve Oldmeadow</dc:creator>
			<guid isPermaLink="false">23633@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Sapus Tongue is now using CocosDenshion for its sound engine.  I recommend you upgrade, CocosDenshion can play caf files with audio encoded as IMA4.</p>
<p>More info about CocosDenshion is here:<br />
<a href="http://www.cocos2d-iphone.org/wiki/doku.php/cocosdenshion:faq" rel="nofollow">http://www.cocos2d-iphone.org/wiki/doku.php/cocosdenshion:faq</a>
</p></description>
		</item>
		<item>
			<title>Codemattic on "Audio File Format Support : How to play .caf file"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/3943#post-23617</link>
			<pubDate>Mon, 18 Jan 2010 19:51:41 +0000</pubDate>
			<dc:creator>Codemattic</dc:creator>
			<guid isPermaLink="false">23617@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>How did you make the caf file? Try:</p>
<p>afconvert /path/to/test.wav /path/to/out.caf -f "caff" -d "aac " -v
</p></description>
		</item>
		<item>
			<title>pravin on "Audio File Format Support : How to play .caf file"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/3943#post-23591</link>
			<pubDate>Mon, 18 Jan 2010 14:30:22 +0000</pubDate>
			<dc:creator>pravin</dc:creator>
			<guid isPermaLink="false">23591@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Hi Everyone,</p>
<p>We buy "Sapus Tongue" code in the month of June 2009 which is very helpful to us to develop the games in cocos-2d.<br />
We are developing game in cocos-2d , we have number of sound files (in .wav format ) to play in game (almost size of 37MB).<br />
So we have converted these sound files to .caf so (size is 9 MB).<br />
We have problem with playing sound these .caf files using "SoundEngineManager".<br />
We would like to know this "SoundEngineManager" will support which types of file format other than ".wav" ?<br />
Is there any other class to play ."caf" files?<br />
Please guide us.</p>
<p>Thanks<br />
Pravin
</p></description>
		</item>

	</channel>
</rss>

