Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-16128

Fix gcc compilation of dsound_new

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 0.4.13
    • 3D Graphics
    • None

    Description

      Add CMakeLists.txt and mostly fix gcc compilation of dsound_new. Although it is still not compilable, my PR fixes at least part of compilation issues.

      It still fails for me with a lot of errors "undefined reference to FuncName@X" (seeĀ dsound_new_output.txt for details). I wonder: it's due to errors directly in the C code, what is possible too, or most likely, due to incorrect libraries linking?... I suspect I didn't add some library in my CMakeLists.txt at target_link_libraries line.

      Also I didn't include dsound_convert.c in my CMakeLists.txt since it's taken as-is from Wine's dsound unlike other source files and has many conflicts with them. I doubt need I include it...

      I just hope that it may work better than current (Wine's) dsound.

      If you want to test it, you need to comment out `add_subdirectory(dsound)` in dll/directx/wine/CMakeLists.txt and uncomment `#add_subdirectory(dsound_new) # disabled in trunk` in dll/directx/CMakeLists.txt.

      Attachments

        Activity

          People

            hbelusca hbelusca
            Oleg Dubinskij Oleg Dubinskiy
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: