<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/Source/Core/AudioCommon, branch nJoy</title>
<subtitle>GameCube and Wii emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/'/>
<entry>
<title>Fix some cases of variables being used uninitialized. Also some unused</title>
<updated>2010-06-02T20:35:12+00:00</updated>
<author>
<name>Soren Jorvang</name>
<email>soren.jorvang@gmail.com</email>
</author>
<published>2010-06-02T20:35:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=30e437f9e362a484c96bbb87513294e7d9c4ac1c'/>
<id>30e437f9e362a484c96bbb87513294e7d9c4ac1c</id>
<content type='text'>
variables, writeable strings and dangerously shadowed variables.

index(), gamma(), exp() and y0() are POSIX functions and using those
names can cause namespace confusion.

A number of C files were missing the final newline required by ANSI C
and some versions of GCC are pedantic enough to complain about this.

These changes simply the scons build, allowing us to get rid of
filterWarnings which is simply more trouble than it's worth.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5574 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
variables, writeable strings and dangerously shadowed variables.

index(), gamma(), exp() and y0() are POSIX functions and using those
names can cause namespace confusion.

A number of C files were missing the final newline required by ANSI C
and some versions of GCC are pedantic enough to complain about this.

These changes simply the scons build, allowing us to get rid of
filterWarnings which is simply more trouble than it's worth.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5574 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>Meta:</title>
<updated>2010-06-02T18:00:22+00:00</updated>
<author>
<name>Soren Jorvang</name>
<email>soren.jorvang@gmail.com</email>
</author>
<published>2010-06-02T18:00:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=664cea45c7593ad646dd06cca72ff5fd34efc32d'/>
<id>664cea45c7593ad646dd06cca72ff5fd34efc32d</id>
<content type='text'>
Using Unix tools to operate on a tree containing filename with spaces in them
is really annoying, so rename the handful of instances where there were spaces.

Host.cpp has never been used.

Games tend to lookup the following directories that we don't yet have anything
to put in, so prepopulate them in Data/User/Wii:

title/00010001
title/00010002
title/00010003
title/00010004
title/00010005
title/00010006
title/00010007
meta
shared2/title
 
Set eol-style native on a number of text files which didn't already have it.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5572 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using Unix tools to operate on a tree containing filename with spaces in them
is really annoying, so rename the handful of instances where there were spaces.

Host.cpp has never been used.

Games tend to lookup the following directories that we don't yet have anything
to put in, so prepopulate them in Data/User/Wii:

title/00010001
title/00010002
title/00010003
title/00010004
title/00010005
title/00010006
title/00010007
meta
shared2/title
 
Set eol-style native on a number of text files which didn't already have it.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5572 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo.</title>
<updated>2010-06-02T17:19:23+00:00</updated>
<author>
<name>Soren Jorvang</name>
<email>soren.jorvang@gmail.com</email>
</author>
<published>2010-06-02T17:19:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=e2ef72504ee2d29a72d08d598f703a38518f0715'/>
<id>e2ef72504ee2d29a72d08d598f703a38518f0715</id>
<content type='text'>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5571 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5571 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>fix AudioCommon including linux headers on windows</title>
<updated>2010-06-01T22:23:16+00:00</updated>
<author>
<name>Shawn Hoffman</name>
<email>godisgovernment@gmail.com</email>
</author>
<published>2010-06-01T22:23:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=9c1b4dee4497e20634e3e7416ba1989bef055014'/>
<id>9c1b4dee4497e20634e3e7416ba1989bef055014</id>
<content type='text'>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5568 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5568 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>Hopefully fix building on Linux.</title>
<updated>2010-06-01T21:10:49+00:00</updated>
<author>
<name>Soren Jorvang</name>
<email>soren.jorvang@gmail.com</email>
</author>
<published>2010-06-01T21:10:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=43dfff651a401b461f3097ee7fd38b200952e06c'/>
<id>43dfff651a401b461f3097ee7fd38b200952e06c</id>
<content type='text'>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5566 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5566 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>Now that Core Audio works, reduce the number of build permutations a bit </title>
<updated>2010-06-01T20:45:30+00:00</updated>
<author>
<name>Soren Jorvang</name>
<email>soren.jorvang@gmail.com</email>
</author>
<published>2010-06-01T20:45:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=9d7b569ccb17ccdd57d0ea510d31799a8fb19344'/>
<id>9d7b569ccb17ccdd57d0ea510d31799a8fb19344</id>
<content type='text'>
by not linking in other Unix audio modules.
 
Use kAudioUnitSubType_DefaultOutput instead of kAudioUnitSubType_HALOutput
so that a runtime switch to another audio device is automatically handled.
 
Use ERROR_LOG for audio errors.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5562 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
by not linking in other Unix audio modules.
 
Use kAudioUnitSubType_DefaultOutput instead of kAudioUnitSubType_HALOutput
so that a runtime switch to another audio device is automatically handled.
 
Use ERROR_LOG for audio errors.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5562 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>Have the AudioUnit callback drive the internal mixer directly instead</title>
<updated>2010-05-31T05:05:53+00:00</updated>
<author>
<name>Soren Jorvang</name>
<email>soren.jorvang@gmail.com</email>
</author>
<published>2010-05-31T05:05:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=fdd532356a66c17fa3b8b309680f92e03a5567db'/>
<id>fdd532356a66c17fa3b8b309680f92e03a5567db</id>
<content type='text'>
of going through an intermediate thread and buffer. This seems to be
how Core Audio is meant to be used, although I still haven't read the
manual.

Indeed, sound on OS X works perfectly now.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5555 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
of going through an intermediate thread and buffer. This seems to be
how Core Audio is meant to be used, although I still haven't read the
manual.

Indeed, sound on OS X works perfectly now.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5555 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>Get the audio unit output buffer size and use that as the rendering</title>
<updated>2010-05-30T04:21:01+00:00</updated>
<author>
<name>Soren Jorvang</name>
<email>soren.jorvang@gmail.com</email>
</author>
<published>2010-05-30T04:21:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=7f50bb55795729cfa86ef7badd640e62e4719dd5'/>
<id>7f50bb55795729cfa86ef7badd640e62e4719dd5</id>
<content type='text'>
quantum, as the callback wants us to provide exactly the amount of
samples needed.

This is incomplete because core audio may ask for less than the full
buffer size (for me, typically 1484 or 1488 bytes of a 2048 byte
buffer). As a quick hack until I read the rather impenetrable core
audio documentation, assume that each callback request will want
about the same number of samples as the preceeding one.

This makes sound bearable.

Also various cleanup.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5543 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
quantum, as the callback wants us to provide exactly the amount of
samples needed.

This is incomplete because core audio may ask for less than the full
buffer size (for me, typically 1484 or 1488 bytes of a 2048 byte
buffer). As a quick hack until I read the rather impenetrable core
audio documentation, assume that each callback request will want
about the same number of samples as the preceeding one.

This makes sound bearable.

Also various cleanup.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5543 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>Linux: Better ALSA support</title>
<updated>2010-05-21T22:48:57+00:00</updated>
<author>
<name>pierre</name>
<email>pierre@pirsoft.de</email>
</author>
<published>2010-05-21T22:48:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=ab89decac5c08c4eb4114535391332e0a0312d5f'/>
<id>ab89decac5c08c4eb4114535391332e0a0312d5f</id>
<content type='text'>
This removes some bad behaviour, like the audio thread busy waiting inside ALSA code,
missing begins of voice samples(due to DSP_HLE code not getting called often enough).
Turns out my understanding of ALSA API was lacking.

Tested with pulse plugin and directly on my intel-hda/realtek hardware.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5461 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes some bad behaviour, like the audio thread busy waiting inside ALSA code,
missing begins of voice samples(due to DSP_HLE code not getting called often enough).
Turns out my understanding of ALSA API was lacking.

Tested with pulse plugin and directly on my intel-hda/realtek hardware.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5461 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>Linux: Fix horrible latency when the alsa pulseaudio plugin is involved, see issue #2651</title>
<updated>2010-05-07T23:14:40+00:00</updated>
<author>
<name>pierre</name>
<email>pierre@pirsoft.de</email>
</author>
<published>2010-05-07T23:14:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=39b17ca6405a7e01592f7e098ea34c65cb4fba38'/>
<id>39b17ca6405a7e01592f7e098ea34c65cb4fba38</id>
<content type='text'>
The fix is asking alsa for a prefered "hardware" buffer size, so alsa does not fall
back to pulseaudios offering of ~1 minute. Additionally, alsa busy waits when pulseaudio
is used, sw:avail_min is set and hw:buffer_size is small.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5439 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The fix is asking alsa for a prefered "hardware" buffer size, so alsa does not fall
back to pulseaudios offering of ~1 minute. Additionally, alsa busy waits when pulseaudio
is used, sw:avail_min is set and hw:buffer_size is small.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5439 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
</feed>
