Giter VIP home page Giter VIP logo

Comments (8)

VonKossa avatar VonKossa commented on May 5, 2024

After the addition of libsmacker it fails to build for, halting on /stub/movie.cpp. With errors like:

/Stub/movie.cpp:49:52: error: cannot convert ‘unsigned int*’ to ‘long unsigned int*’ for argument ‘3’ to ‘char smk_info_all(smk, long unsigned int*, long unsigned int*, double*)’
smk_info_all(smacker, NULL, &nFrames, &usPerFrame);

/Stub/movie.cpp:50:48: error: cannot convert ‘unsigned int*’ to ‘long unsigned int*’ for argument ‘2’ to ‘char smk_info_video(smk, long unsigned int*, long unsigned int*, unsigned char*)’
smk_info_video(smacker, &width, &height, NULL);

from devilutionx.

AJenbo avatar AJenbo commented on May 5, 2024

Please try deleting the content of you build folder and do a fresh build with cmake

from devilutionx.

VonKossa avatar VonKossa commented on May 5, 2024

Already did. Same result.

from devilutionx.

VonKossa avatar VonKossa commented on May 5, 2024

Can it be because of missing dependencies or missing compile flag on libsdl2 or sdl2-mixer?

from devilutionx.

AJenbo avatar AJenbo commented on May 5, 2024

It worked on 32bit, but not on 64bit. It's fixed now so that it will work on both.

from devilutionx.

VonKossa avatar VonKossa commented on May 5, 2024

Yepp, now it works!
Thanks a lot. :)

from devilutionx.

AJenbo avatar AJenbo commented on May 5, 2024

Video playback has been implemented. There are still improvements that could be made:

  • Switch to libsmackerdec for a more liberal license
  • Fix audio stuttering by streaming to the music channel

from devilutionx.

AJenbo avatar AJenbo commented on May 5, 2024

Audio playback has now been corrected

from devilutionx.

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.