Merge pull request #22755 from hrydgard/another-adhoc-server

Another adhoc server ("SWAENET"), some logging reduction
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2026-10-24 10:44:20 +02:00
commit 038e4b67ca
5 files changed
+15 -9

No files matched your search

+1 -1
View File
@@ -200,7 +200,7 @@ TextDrawerUWP::TextDrawerUWP(Draw::DrawContext *draw) : TextDrawer(draw), ctx_(n
std::string nname = ConvertWStringToUTF8(name);
NOTICE_LOG(Log::G3D, "Font family: %s", nname.c_str());
// INFO_LOG(Log::G3D, "Font family: %s", nname.c_str());
names->Release();
family->Release();
+1 -5
View File
@@ -65,16 +65,12 @@ static const float g_GranuleWindow[256] = {
0.0000216492f, 0.0000113187f, 0.0000050749f, 0.0000016272f
};
inline s16 clampfloat_s16(float f) {
static inline s16 clampfloat_s16(float f) {
if (f <= -32767.0f) return -32767;
if (f >= 32767.0f) return 32767;
return (s16)f;
}
GranularMixer::GranularMixer() {
INFO_LOG(Log::Audio, "Mixer is initialized");
}
// Executed from sound stream thread
void GranularMixer::Mix(s16 *samples, u32 num_samples, int outSampleRate, float fpsEstimate) {
_dbg_assert_(samples);
-2
View File
@@ -39,8 +39,6 @@ struct GranularStats {
class GranularMixer final {
public:
explicit GranularMixer();
// Called from audio threads
void Mix(s16 *samples, u32 numSamples, int outSampleRate, float vpsEstimate);
+1 -1
View File
@@ -469,7 +469,7 @@ void LogoScreen::DrawForeground(UIContext &dc) {
uint32_t textColor = colorAlpha(dc.GetTheme().infoStyle.fgColor, alphaText);
// TEMPORARY: Round rect test. Fixed seed so they stay put between frames.
{
if (false) {
uint32_t seed = 12345;
auto rnd = [&seed]() {
seed = seed * 1664525 + 1013904223;
+12
View File
@@ -234,6 +234,18 @@
"description": "For players looking to play any games",
"data_mode": "AemuPostoffice",
"status_data_json": "http://psp.andexplaystream.online/data.json"
},
{
"name": "SWAENET",
"host": "132.226.189.224",
"discord": "https://discord.gg/CgZxfHA8ZC",
"web": "http://132.226.189.224:8888/",
"location": "Mumbai,India",
"location-emoji": "🇮🇳",
"description": "Indian adhoc relay from SWAEYERS community",
"data_mode": "AemuPostoffice",
"status_data_json": "http://132.226.189.224:8888/data.json",
"icon": "http://132.226.189.224:8888/assets/favicon.svg"
}
]
}