Giter Site home page Giter Site logo

Comments (8)

sashimi-yzh avatar sashimi-yzh commented on August 14, 2024

讲义有写

from ics-pa-gitbook.

junjie1475 avatar junjie1475 commented on August 14, 2024

讲义有写

emm我的意思是你们发布在课程群的公告中的配置文件,主要是其他文件好找但是配置文件因环境而变化 配置文件写错了就很麻烦

from ics-pa-gitbook.

sashimi-yzh avatar sashimi-yzh commented on August 14, 2024

哦哦, 我先贴一个可用的吧, 晚点再放到讲义里面, 感觉可以简化一下:

KeepAspectRatio=1
FullScreen=0
LaunchSetting=0
Stereo=0
UseSurroundOPL=0
EnableKeyRepeat=0
UseTouchOverlay=0
EnableAviPlay=0
EnableGLSL=0
EnableHDR=0
SurroundOPLOffset=384
LogLevel=5
AudioDevice=-1
AudioBufferSize=2048
OPLSampleRate=11025
ResampleQuality=0
SampleRate=11025
MusicVolume=100
SoundVolume=100
WindowHeight=200
WindowWidth=320
TextureHeight=200
TextureWidth=320
CD=NONE
Music=RIX
OPLCore=DBINT
OPLChip=OPL2

from ics-pa-gitbook.

junjie1475 avatar junjie1475 commented on August 14, 2024

哦哦, 我先贴一个可用的吧, 晚点再放到讲义里面, 感觉可以简化一下:

KeepAspectRatio=1
FullScreen=0
LaunchSetting=0
Stereo=0
UseSurroundOPL=0
EnableKeyRepeat=0
UseTouchOverlay=0
EnableAviPlay=0
EnableGLSL=0
EnableHDR=0
SurroundOPLOffset=384
LogLevel=5
AudioDevice=-1
AudioBufferSize=2048
OPLSampleRate=11025
ResampleQuality=0
SampleRate=11025
MusicVolume=100
SoundVolume=100
WindowHeight=200
WindowWidth=320
TextureHeight=200
TextureWidth=320
CD=NONE
Music=RIX
OPLCore=DBINT
OPLChip=OPL2

非常感谢!

from ics-pa-gitbook.

sashimi-yzh avatar sashimi-yzh commented on August 14, 2024

我这边试了一下, 发现简化为如下4行仍然可以工作, 不知道你是否方便测试一下? @junjie1475

OPLSampleRate=11025
SampleRate=11025
WindowHeight=200
WindowWidth=320

from ics-pa-gitbook.

junjie1475 avatar junjie1475 commented on August 14, 2024

测试了下确实是可以工作的

from ics-pa-gitbook.

sashimi-yzh avatar sashimi-yzh commented on August 14, 2024

好的, 谢谢啦

from ics-pa-gitbook.

junjie1475 avatar junjie1475 commented on August 14, 2024

我研究了下发现配置文件的WindowHeight和WindowWidth 如果不是200/320 调用到SDL_SoftStretch的时候会因为src和dst的大小不一样触发 assert(0); 但是最迷的是上面的注释明明写了“APIs below are already implemented.” 我就是因为这个问题觉得可能是我配置文件写错了,因为我测试过我自己写的函数和原版SDL表现是一致的希望可以写到讲义里。 @sashimi-yzh

from ics-pa-gitbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.