<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sounds | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/sounds/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Tue, 13 Dec 2022 10:14:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>Sounds | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>Update to the Windows eBook</title>
		<link>https://learncgames.com/update-to-the-windows-ebook/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=update-to-the-windows-ebook</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Sun, 27 Nov 2022 11:28:17 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Ebook]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[SDL]]></category>
		<category><![CDATA[asteroids]]></category>
		<category><![CDATA[Sounds]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=3101</guid>

					<description><![CDATA[<p>A reader asked me how to setup SDL2 for Windows given recent changes in SDL2. Specifically the files and libsdl projects have been moved from the libsdl.org website to GitHub. You can easily find SDL2 Image, Mixer, TTF etc. However it can still be quite daunting setting up Visual Studio for SDL2. You have to [&#8230;]</p>
The post <a href="https://learncgames.com/update-to-the-windows-ebook/">Update to the Windows eBook</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignleft size-medium wp-image-3102" src="https://learncgames.com/wp-content/uploads/2022/11/configure-sdl-for-vc-300x116.png" alt="Visual Studio configuration" width="300" height="116" srcset="https://learncgames.com/wp-content/uploads/2022/11/configure-sdl-for-vc-300x116.png 300w, https://learncgames.com/wp-content/uploads/2022/11/configure-sdl-for-vc-768x296.png 768w, https://learncgames.com/wp-content/uploads/2022/11/configure-sdl-for-vc.png 904w" sizes="(max-width: 300px) 100vw, 300px" />A reader asked me how to setup SDL2 for Windows given recent changes in SDL2. Specifically the files and libsdl projects have been moved from the libsdl.org website to GitHub. You can easily find SDL2 Image, Mixer, TTF etc.</p>
<p>However it can still be quite daunting setting up Visual Studio for SDL2. You have to download the specific files, then configure the project properties to specify the include paths for header files and then the lib files, both the path to them and identify the ones you want to use.</p>
<p>As I&#8217;m on my new PC, I bit the bullet and went through the process of setting it up. It took just over an hour to configure it.  I&#8217;ve put it into <a title="Link to Setting up Visual Studio for SDL" href="https://github.com/David-H-Bolton/LearnC/blob/master/New%20Instructions%20for%20setting%20up%20SDL2%20files%20on%20Windows.pdf" target="_blank" rel="nofollow noopener">a PDF</a> that&#8217;s a couple of pages long.</p>
<p>So the game works but only after I disabled the sound code; it was failing in the call to <strong>Mix_OpenAudio()</strong>. I think recent work on the SDL Mixer needs some work on my part. I need to sit down and look at the <a title="Link to SDL Mixer page on GitHub" href="https://github.com/libsdl-org/SDL_mixer" target="_blank" rel="nofollow noopener">SDL Mixer page</a> and figure out what&#8217;s failing. Once that&#8217;s done, I&#8217;ll update the files.</p>
<p>&nbsp;<span hidden class="__iawmlf-post-loop-links" data-iawmlf-links="[{&quot;id&quot;:45,&quot;href&quot;:&quot;https:\/\/github.com\/David-H-Bolton\/LearnC\/blob\/master\/New%20Instructions%20for%20setting%20up%20SDL2%20files%20on%20Windows.pdf&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20221223025630\/https:\/\/github.com\/David-H-Bolton\/LearnC\/blob\/master\/New%20Instructions%20for%20setting%20up%20SDL2%20files%20on%20Windows.pdf&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 11:15:41&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-02-06 11:15:41&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:46,&quot;href&quot;:&quot;https:\/\/github.com\/libsdl-org\/SDL_mixer&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20251216065846\/https:\/\/github.com\/libsdl-org\/SDL_mixer&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 11:15:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-09 20:59:03&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-12 22:35:49&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-16 07:53:08&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-19 23:41:55&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-23 15:31:56&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-27 07:19:29&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-02 23:11:24&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-06 15:02:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-10 06:52:11&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-13 14:42:04&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-16 22:33:28&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-20 06:21:57&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-23 14:10:16&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-26 22:00:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-30 13:45:57&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-02 21:39:10&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-06 05:31:32&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-09 13:24:27&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-04-12 21:15:53&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-16 05:07:08&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-19 20:57:01&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-23 04:49:54&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-26 12:41:29&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-29 20:30:25&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-03 04:17:01&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-06 12:06:54&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-10 03:53:45&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-13 11:42:54&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-05-13 11:42:54&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]"></span></p>The post <a href="https://learncgames.com/update-to-the-windows-ebook/">Update to the Windows eBook</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3101</post-id>	</item>
	</channel>
</rss>
