<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/Source/Core/AudioCommon/OpenSLESStream.cpp, branch 2603</title>
<subtitle>GameCube and Wii emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/'/>
<entry>
<title>Android: Ask system for optimal audio buffer size and sample rate</title>
<updated>2025-05-25T09:59:33+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2024-06-06T13:38:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=f99d3dbd5ccd80bcd071cf49e689f6b6724df499'/>
<id>f99d3dbd5ccd80bcd071cf49e689f6b6724df499</id>
<content type='text'>
This can reduce audio latency according to
https://developer.android.com/ndk/guides/audio/opensl/opensl-prog-notes#perform.

Previously we were using the hardcoded values of 48000 Hz and 256 frames
per buffer. The sample rate we use with this change is 48000 Hz on all
devices I'm aware of, but the buffer size does vary across devices.

Terminology note: The old code used the term "sample" to refer to what
Android refers to as a "frame". "Frame" is a clearer term to use for
this, so I've changed OpenSLESStream's terminology. One frame consists
of one sample per channel.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This can reduce audio latency according to
https://developer.android.com/ndk/guides/audio/opensl/opensl-prog-notes#perform.

Previously we were using the hardcoded values of 48000 Hz and 256 frames
per buffer. The sample rate we use with this change is 48000 Hz on all
devices I'm aware of, but the buffer size does vary across devices.

Terminology note: The old code used the term "sample" to refer to what
Android refers to as a "frame". "Frame" is a clearer term to use for
this, so I've changed OpenSLESStream's terminology. One frame consists
of one sample per channel.
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: Get rid of OpenSLESStream's global state</title>
<updated>2025-05-25T09:55:22+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2024-06-06T11:32:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=34e8fb068f50c585a6f69eca365d1008c898f0c3'/>
<id>34e8fb068f50c585a6f69eca365d1008c898f0c3</id>
<content type='text'>
Not sure if we're ever going to want to have more than one of these at
the same time, but these global variables are a code smell nonetheless.

I'm also deleting the existing member variables because they were
unused.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not sure if we're ever going to want to have more than one of these at
the same time, but these global variables are a code smell nonetheless.

I'm also deleting the existing member variables because they were
unused.
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: Implement OpenSLESStream::SetRunning</title>
<updated>2024-06-04T17:32:04+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2024-06-04T17:32:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=a3c23353c05c6455e47889dc5338fe6ee494d813'/>
<id>a3c23353c05c6455e47889dc5338fe6ee494d813</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Restrict OpenSLES to Android via CMake</title>
<updated>2022-08-07T23:18:36+00:00</updated>
<author>
<name>Zopolis4</name>
<email>creatorsmithmdt@gmail.com</email>
</author>
<published>2022-08-07T23:17:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=e2aefe13a6ac924508e5749439d047fb4a6317d6'/>
<id>e2aefe13a6ac924508e5749439d047fb4a6317d6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: convert GPLv2+ license info to SPDX tags</title>
<updated>2021-07-05T02:35:56+00:00</updated>
<author>
<name>Pierre Bourdon</name>
<email>delroth@gmail.com</email>
</author>
<published>2021-07-05T01:22:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=e149ad4f0a9874f354221a7fc76d8f1841e47808'/>
<id>e149ad4f0a9874f354221a7fc76d8f1841e47808</id>
<content type='text'>
SPDX standardizes how source code conveys its copyright and licensing
information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX
tags are adopted in many large projects, including things like the Linux
kernel.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SPDX standardizes how source code conveys its copyright and licensing
information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX
tags are adopted in many large projects, including things like the Linux
kernel.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace uses of cassert with Common/Assert.h</title>
<updated>2021-04-02T17:18:18+00:00</updated>
<author>
<name>Pokechu22</name>
<email>Pokechu022@gmail.com</email>
</author>
<published>2021-04-01T21:30:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=004dfd1586f787f27f36c4326b9222a314295735'/>
<id>004dfd1586f787f27f36c4326b9222a314295735</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: Add audio volume setting</title>
<updated>2019-11-26T20:10:27+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2019-11-24T20:34:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=cf8208ace91a3cf389c214cf3d03c377133d968a'/>
<id>cf8208ace91a3cf389c214cf3d03c377133d968a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Assert: Uppercase assertion macros</title>
<updated>2018-03-15T02:03:12+00:00</updated>
<author>
<name>Lioncash</name>
<email>mathew1800@gmail.com</email>
</author>
<published>2018-03-15T00:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=50a476c3714b3c423609ec04ce424c244bd2a1c1'/>
<id>50a476c3714b3c423609ec04ce424c244bd2a1c1</id>
<content type='text'>
Macros should be all upper-cased. This is also kind of a wart that's
been sticking out for quite a while now (we avoid prefixing
underscores).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Macros should be all upper-cased. This is also kind of a wart that's
been sticking out for quite a while now (we avoid prefixing
underscores).
</pre>
</div>
</content>
</entry>
<entry>
<title>SoundStream: change Start/Stop to Init/SetRunning/destruct</title>
<updated>2017-11-19T20:09:54+00:00</updated>
<author>
<name>Michael M</name>
<email>mchtly@gmail.com</email>
</author>
<published>2017-10-21T23:23:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=0baddbf9a8152ab7dd3ab200e516a998a0c9433f'/>
<id>0baddbf9a8152ab7dd3ab200e516a998a0c9433f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename CMixer to Mixer</title>
<updated>2017-06-26T22:01:07+00:00</updated>
<author>
<name>Michael Maltese</name>
<email>mchtly@gmail.com</email>
</author>
<published>2017-06-26T21:41:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=b2c9d6d21746cc23ae092f772194346eadef7aa0'/>
<id>b2c9d6d21746cc23ae092f772194346eadef7aa0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
