oxygine-sound



  • Hello,

    I try compile on windows ox-sound with newest oxygine but i have lots of error.
    Few of them was only old #include headers, after correct example compile successfull but crashing at sound lib initializng.

    It is possible to get instruciton how to run ox-sound with newest version of oxygine?


  • administrators

    Hi, ox-sound doesn't have any critical changes.
    Check example. Is it working?
    show me error



  • Yes, I building Example
    0_1522958417421_34bddabc-6d3f-4c36-a131-4e7960d153d2-image.png.

    I can correct this by remove oxygine/ from whole #include,
    in case oxygine/actor I remove both
    and I have this errors:
    0_1522958600944_c30b6bfb-b3dc-4026-98f9-762678e04fab-image.png

    I can correct, this to log:: from logs:: + include cstdio but I have another error:
    0_1522959163261_1a47eaa6-557d-4813-bc1d-67266b8f9589-image.png

    Android also doesn't work:
    0_1522960141924_ac308d62-e41e-4978-93a5-0fad7f2c9bca-image.png

    I have NDK properly configured, Hello World and Demo form oxygine examples compiles successfully on android and windows.


  • administrators

    it is build error. Not runtime error.
    Just update Everything to latest commit (master branch) including oxygine-sound



  • Based on newest SDL, oxygine-framework and oxygine-sound from github(master), I don't have code errors mentioned in previous post but last error still exists in Release mode.
    0_1523000137887_806ecd48-d8f2-4d0d-a625-0d68346b3fdd-image.png

    VisualStudio version:
    0_1523000680003_5422dec9-5f2f-4acd-b719-7d360ed2567b-image.png

    In debug moge I have assert:
    0_1523000269532_aace8cfe-2a54-4558-846f-218c3cf0029d-image.png

    logs:
    'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\proj.win32\Debug_v141_xp\SoundDemo.exe'. Symbols loaded.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\apphelp.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\psapi.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\SDL2.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\win32u.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\pthreadVCE2.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32full.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp_win.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbase.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\opengl32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\SHCore.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\windows.storage.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\zlib.dll'. Module was built without symbols.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\powrprof.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profapi.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp140d.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\libcurl.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140d.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmm.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Wldap32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr100.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\ssleay32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\glu32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\libssh2.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\OpenAL32.dll'. Module was built without symbols.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\libeay32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\libeay32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Unloaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\libeay32.dll'
    'SoundDemo.exe' (Win32): Loaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\libeay32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Unloaded 'C:\lukasz-workspace\oxygine2018\oxygine-sound\examples\SoundDemo\data\libeay32.dll'
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr110.dll'. Cannot find or open the PDB file.
    000 build settings OX_DEBUG _DEBUG arch unknown
    000 initialize oxygine
    000 SDL build
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Cannot find or open the PDB file.
    013 creating window 960 640
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nvoglv32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\nvoglv32.dll'
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nvoglv32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\setupapi.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wtsapi32.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntmarta.dll'. Cannot find or open the PDB file.
    The thread 0x469c has exited with code 0 (0x0).
    The thread 0x2130 has exited with code 0 (0x0).
    The thread 0x4980 has exited with code 0 (0x0).
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'. Cannot find or open the PDB file.
    The thread 0x30f8 has exited with code 0 (0x0).
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winsta.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\clbcatq.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\TextInputFramework.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\CoreUIComponents.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\CoreMessaging.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\WinTypes.dll'
    'SoundDemo.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\WinTypes.dll'
    720 display size: 960 640
    769 DebugActor::initialize
    816 oxygine initialized
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\MMDevAPI.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\propsys.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\devobj.dll'. Cannot find or open the PDB file.
    'SoundDemo.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dsound.dll'. Cannot find or open the PDB file.
    939 error: Assert! 0 in c:\lukasz-workspace\oxygine2018\oxygine-sound\src\sound\oal\soundsystemoal.cpp:57
    Assertion failed!

    Program: ...s\SoundDemo\proj.win32\Debug_v141_xp\SoundDemo.exe
    File: c:\lukasz-workspace\oxygine2018\oxy...\soundsy...oal.cpp
    Line: 57

    Expression: 0

    For information on how your program can cause an assertion
    failure, see the Visual C++ documentation on asserts

    (Press Retry to debug the application - JIT must be enabled)The thread 0x4360 has exited with code 0 (0x0).
    The thread 0x2910 has exited with code 0 (0x0).
    The thread 0x484c has exited with code 0 (0x0).

    On android I have same problem:
    0_1523000508155_b26c5973-fd15-47dd-9bd9-e57617788990-image.png

    Newest from github oxygine-framework examples work fine on windows and android.



  • After comment 57 line:
    0_1523001038770_d258a8a3-76e7-4798-b3d5-e430c052fef9-image.png

    App starter but sound doesn't work.

    I have external sound processor, which is also my sound card.
    After switch to realtek card build in motherboard, sound works.

    So, I still have problem with android and release mode in windows.
    I create app which require sound on android, windows is second priority.
    What can causing this problem on android?
    I have properly configured NDK and SDK.


  • administrators

    you haven't properly configured NDK, check log file above:

    NDK not configured


Log in to reply
 

Looks like your connection to Oxygine was lost, please wait while we try to reconnect.