From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-03.nifty.com (conssluserg-03.nifty.com [210.131.2.82]) by sourceware.org (Postfix) with ESMTPS id 5A1C03858C50 for ; Thu, 9 Feb 2023 13:11:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5A1C03858C50 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp Received: from HP-Z230 (aj135041.dynamic.ppp.asahi-net.or.jp [220.150.135.41]) (authenticated) by conssluserg-03.nifty.com with ESMTP id 319DAfDC022883 for ; Thu, 9 Feb 2023 22:10:41 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 319DAfDC022883 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1675948241; bh=+HIBuzRerTPFGPBDHXTl+j837OvwWcuMKKY+BA0X3rU=; h=Date:From:To:Subject:In-Reply-To:References:From; b=PB5yCtO4m8M69ItTMljVgew0E9x2A4/3L1pKVMGYEZ4vX+Squ+5jtOHnjv4ZPFhdb /u6BJ710L2x74RHfJPZj+LGGULGttkhrmZyC+hERjtDQP/jZb7vuB8coln521lfRAh w2haSh+WcR0/uYrO+25TBUcOOmnOHhU6UMGUPgGm7cd2FgHlwlGlLk42jZH1TQ7HkD yHo4K5xDDmYOn73VV2x4QO/1Ceyn2GaCakr1jaaQ/yd4SzIAEs7F2NgRLC1WmkoLP7 6h+1MDA2uSj0NRGHrFwiH1PiwbK+ZrxUgZUDz8O90qQuipL50AHgAwRQ54F8fKp6Au 2J9vlVYfo9YDQ== X-Nifty-SrcIP: [220.150.135.41] Date: Thu, 9 Feb 2023 22:10:41 +0900 From: Takashi Yano To: "cygwin-apps@cygwin.com" Subject: Re: [ITA] SDL2 (2.26.2) Message-Id: <20230209221041.1003d4b2f8b942ffbe6c4a7f@nifty.ne.jp> In-Reply-To: <5a95e243-abb0-64e2-7959-106bc6b1af21@dronecode.org.uk> References: <20230120193525.ff89fed0f8bf788405537af8@nifty.ne.jp> <20230122210550.0c7fa8aedaa8ebf7dc772dbc@nifty.ne.jp> <5a95e243-abb0-64e2-7959-106bc6b1af21@dronecode.org.uk> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Thu__9_Feb_2023_22_10_41_+0900_w1Pn3_Ran8HMoQUF" X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,SUBJ_ALL_CAPS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This is a multi-part message in MIME format. --Multipart=_Thu__9_Feb_2023_22_10_41_+0900_w1Pn3_Ran8HMoQUF Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 28 Jan 2023 16:24:35 +0000 Jon Turney wrote: > On 22/01/2023 12:05, Takashi Yano via Cygwin-apps wrote: > > On Sat, 21 Jan 2023 14:58:55 +0000 > > Jon Turney wrote: > >> You've made some changes in the configuration here (switching from > >> enabling pulseaudio to oss) > >> > >> I think you've also dropped the winmm patch. > >> > >> I don't understand enough to evaluate the correctness those changes, so > >> it would be nice if you could explain that to me. > > > > Thanks for reviewing. The reason why I turnd off pulseaudio > > is that the latency was unacceptably large, despite the fact > > that pulseaudio is preferred over other sound drivers. > > Due to this, ffplay missynchronized sound with video. > > > > Also, I guess OSS was previously disabled because it does not > > work as expected due to a bug of cygwin: > > https://cygwin.com/pipermail/cygwin-patches/2023q1/012134.html > > and winmm was enabled instead. > > > > Now, the bug has been fixed and SDL2 gets working with OSS. > > Therefore, we don't need winmm support anymore. I think > > it is better not to call winmm directly from cygwin apps. > > > > BTW, I tried to modify SDL2 code to minimize the latency of > > pulseaudio and it succeeded. So, I re-enabled the pulseaudio > > and updated the package. > > > > Could you please review the package again? > > Thanks for this explanation, it all makes sense now. > > Please go ahead. Version updated to 2.26.3. -- Takashi Yano --Multipart=_Thu__9_Feb_2023_22_10_41_+0900_w1Pn3_Ran8HMoQUF Content-Type: text/plain; name="SDL2.cygport" Content-Disposition: attachment; filename="SDL2.cygport" Content-Transfer-Encoding: 7bit NAME="SDL2" VERSION=2.26.3 RELEASE=1 LICENSE="Zlib" CATEGORY="Libs" SUMMARY="Simple DirectMedia Layer core library" DESCRIPTION="This is the Simple DirectMedia Layer, a general API that provides low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D framebuffer across multiple platforms." HOMEPAGE="http://www.libsdl.org/" SRC_URI="http://www.libsdl.org/release/SDL2-${VERSION}.tar.gz" PKG_NAMES="libSDL2_2.0_0 libSDL2-devel" libSDL2_2_0_0_REQUIRES="libdbus1_3 libGL1 libsamplerate0 libX11_6 libXcursor1 libXext6 libXi6 libXinerama1 libXrandr2 libXss1" # libaudio2 libpulse-simple0 libSDL2_2_0_0_CONTENTS="usr/bin/cygSDL2-2-0-0.dll usr/share/doc/" libSDL2_devel_CONTENTS="usr/bin/sdl2-config usr/include/ usr/lib/ usr/share/aclocal/" DISTCLEANFILES="acinclude/l*.m4" DIFF_EXCLUDES="SDL_config.h" ACLOCAL_FLAGS="-I acinclude" NO_AUTOHEADER=1 CYGCONF_ARGS=" --enable-pthreads --enable-pthread-sem --disable-arts --disable-arts-shared --enable-esd --enable-esd-shared --enable-nas --enable-nas-shared --enable-oss --enable-pulseaudio --enable-pulseaudio-shared --enable-libsamplerate --enable-libsamplerate-shared --enable-video-dummy --enable-video-opengl --enable-video-opengles --enable-video-x11 --enable-video-x11-scrnsaver --enable-video-x11-xcursor --enable-video-x11-xinput --enable-video-x11-xrandr --enable-video-x11-xshape --enable-x11-shared " DOCS="README-SDL.txt README-porting.txt" BUILD_REQUIRES="libX11-devel libGL-devel libEGL-devel libsamplerate-devel libesd-devel nas" --Multipart=_Thu__9_Feb_2023_22_10_41_+0900_w1Pn3_Ran8HMoQUF--