• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Strawberry Music Player Forums
    2. przemhb
    3. Posts
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 10
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by przemhb

    • RE: Audio output at 44.1k despite Hi-Res input file/stream - a bug or not implemented Hi-Res support?

      @jonas I have tried v. 1.0.23.52.g04ba202e-msvc-x64. No improvement on WASAPI exclusive. Right from the moment playback is started the sound is at a lower, than normal speed and gets jagged.

      As to the ASIO it depends on driver. For "ASIO for Generic USB Device" it fails with:

      ../gst/playback/gstplaysink.c(2949): gen_audio_chain (): /GstPlayBin3:pipeline-1-pipeline/GstPlaySink:playsink
      

      When Khadas Tone USB driver is used playback starts ok, but when only I pause it the last sample is played in a loop. To recover it is not sufficient to stop, but play-stop sequence is needed.

      posted in Technical Help
      P
      przemhb
    • RE: Audio output at 44.1k despite Hi-Res input file/stream - a bug or not implemented Hi-Res support?

      @jonas The sound was jagged when I tried to use WASAPI.

      For WASAPI2 I could play simultaneously from two sources, despite exclusive mode seemed to be enabled (but was it? the tick box was ticked, but greyed out). For ASIO similar case - check box greyed out, but ticked, but error on playback attempt:

      Configured audiosink audiobin is not working.
      ../gst/playback/gstplaysink.c(2949): gen_audio_chain (): /GstPlayBin3:pipeline-1-pipeline/GstPlaySink:playsink
      
      posted in Technical Help
      P
      przemhb
    • RE: Audio output at 44.1k despite Hi-Res input file/stream - a bug or not implemented Hi-Res support?

      @jonas Unfortunately playback is buggy for my external USB DAC (Khadas Tone 1) - it is much slower, than normal and jagged. Starts and stays like this. For both my monitors there is no such an issue.

      posted in Technical Help
      P
      przemhb
    • RE: VS2022 build error

      @jonas I've confirmed I've got those.
      Yet still I get the error (in VS):

      CMake Error at C:/Program Files/cad/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:67 (message):
        The C compiler
      
          "C:/Program Files/cad/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x86/cl.exe"
      
        is not able to compile a simple test program.
      
        It fails with the following output:
      
          Change Dir: C:/Data/Projects/strawberry/strawberry/out/build/x64-Debug/CMakeFiles/CMakeScratch/TryCompile-ixd2b9
          
          Run Build Command(s):C:/Program Files/cad/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe -v cmTC_faeaf && [1/2] C:\PROGRA~1\cad\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x86\cl.exe  /nologo   /DWIN32 /D_WINDOWS /W3  /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_faeaf.dir\testCCompiler.c.obj /FdCMakeFiles\cmTC_faeaf.dir\ /FS -c C:\Data\Projects\strawberry\strawberry\out\build\x64-Debug\CMakeFiles\CMakeScratch\TryCompile-ixd2b9\testCCompiler.c
          [2/2] cmd.exe /C "cd . && "C:\Program Files\cad\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_faeaf.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests  -- C:\PROGRA~1\cad\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x86\link.exe /nologo CMakeFiles\cmTC_faeaf.dir\testCCompiler.c.obj  /out:cmTC_faeaf.exe /implib:cmTC_faeaf.lib /pdb:cmTC_faeaf.pdb /version:0.0 /machine:X86  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
          FAILED: cmTC_faeaf.exe 
          cmd.exe /C "cd . && "C:\Program Files\cad\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_faeaf.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests  -- C:\PROGRA~1\cad\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x86\link.exe /nologo CMakeFiles\cmTC_faeaf.dir\testCCompiler.c.obj  /out:cmTC_faeaf.exe /implib:cmTC_faeaf.lib /pdb:cmTC_faeaf.pdb /version:0.0 /machine:X86  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
          LINK Pass 1: command "C:\PROGRA~1\cad\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx64\x86\link.exe /nologo CMakeFiles\cmTC_faeaf.dir\testCCompiler.c.obj /out:cmTC_faeaf.exe /implib:cmTC_faeaf.lib /pdb:cmTC_faeaf.pdb /version:0.0 /machine:X86 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\cmTC_faeaf.dir/intermediate.manifest CMakeFiles\cmTC_faeaf.dir/manifest.res" failed (exit code 1104) with the following output:
          LINK : fatal error LNK1104: nie można otworzyć pliku „kernel32.lib”
      
          ninja: build stopped: subcommand failed.
         
        CMake will not be able to correctly generate this project.
      Call Stack (most recent call first):
        CMakeLists.txt:3 (project)
      

      I am trying to figure out what I am missing here.

      posted in Development
      P
      przemhb
    • RE: VS2022 build error

      @jonas
      Thank you for your reply. I spotted the following error:
      The specified file could not be found.

      I confirmed that the following exists:
      C:/Data/Projects/strawberry/strawberry/out/build/x64-Debug/CMakeFiles/CMakeScratch/ directory, but not its subdirectory TryCompile-6m1cjp - maybe deleted after the build attempt(?)

      When I run the command:
      C:/Program Files/cad/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe
      with no arguments, just to see the ninja.exe is there, I get:
      ninja: error: loading 'build.ninja': The specified file could not be found.

      Full CMakeError.log below:

      Detecting C compiler ABI info failed to compile with the following output:
      Change Dir: C:/Data/Projects/strawberry/strawberry/out/build/x64-Debug/CMakeFiles/CMakeScratch/TryCompile-6m1cjp
      
      Run Build Command(s):C:/Program Files/cad/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_27de3 && [1/2] Building C object CMakeFiles\cmTC_27de3.dir\CMakeCCompilerABI.c.obj
      
      [2/2] Linking C executable cmTC_27de3.exe
      
      FAILED: cmTC_27de3.exe 
      
      cmd.exe /C "cd . && "C:\Program Files\cad\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_27de3.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- C:\PROGRA~1\cad\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x86\link.exe /nologo CMakeFiles\cmTC_27de3.dir\CMakeCCompilerABI.c.obj  /out:cmTC_27de3.exe /implib:cmTC_27de3.lib /pdb:cmTC_27de3.pdb /version:0.0 /machine:X86  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
      
      RC Pass 1: command "rc /fo CMakeFiles\cmTC_27de3.dir/manifest.res CMakeFiles\cmTC_27de3.dir/manifest.rc" failed (exit code 0) with the following output:
      
      The specified file could not be found
      
      ninja: build stopped: subcommand failed.
      
      
      Determining if the C compiler works failed with the following output:
      Change Dir: C:/Data/Projects/strawberry/strawberry/out/build/x64-Debug/CMakeFiles/CMakeScratch/TryCompile-xpvc80
      
      Run Build Command(s):C:/Program Files/cad/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_a84f8 && [1/2] Building C object CMakeFiles\cmTC_a84f8.dir\testCCompiler.c.obj
      
      [2/2] Linking C executable cmTC_a84f8.exe
      
      FAILED: cmTC_a84f8.exe 
      
      cmd.exe /C "cd . && "C:\Program Files\cad\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_a84f8.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- C:\PROGRA~1\cad\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x86\link.exe /nologo CMakeFiles\cmTC_a84f8.dir\testCCompiler.c.obj  /out:cmTC_a84f8.exe /implib:cmTC_a84f8.lib /pdb:cmTC_a84f8.pdb /version:0.0 /machine:X86  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
      
      RC Pass 1: command "rc /fo CMakeFiles\cmTC_a84f8.dir/manifest.res CMakeFiles\cmTC_a84f8.dir/manifest.rc" failed (exit code 0) with the following output:
      
      The specified file could not be found
      
      ninja: build stopped: subcommand failed.
      
      
      
      
      
      
      posted in Development
      P
      przemhb
    • VS2022 build error

      I'm struggling to build with VS2022. I'd be thankful if someone could give me a tip on how to get rid of the error:

      1> Rozpoczęto generowanie narzędzia CMake dla konfiguracji: „x64-Debug”.
      1> Wiersz polecenia: "C:\windows\system32\cmd.exe" /c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\CAD\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe"  -G "Ninja"  -DCMAKE_BUILD_TYPE:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="C:\data\projects\strawberry\strawberry\out\install\x64-Debug" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files/cad/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x86/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files/cad/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x86/cl.exe" -DARCH=x86_64 -DICU_ROOT=c:\\strawberry_msvc_x86_64_debug -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES\CAD\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "C:\data\projects\strawberry\strawberry" 2>&1"
      1> Katalog roboczy: C:\data\projects\strawberry\strawberry\out\build\x64-Debug
      1> [CMake] -- The C compiler identification is MSVC 19.35.32217.1
      1> [CMake] -- The CXX compiler identification is MSVC 19.35.32217.1
      1> [CMake] -- Detecting C compiler ABI info
      1> [CMake] -- Detecting C compiler ABI info - failed
      1> [CMake] -- Check for working C compiler: C:/Program Files/cad/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x86/cl.exe
      1> [CMake] -- Check for working C compiler: C:/Program Files/cad/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x86/cl.exe - broken
      1> [CMake] CMake Error at C:/Program Files/cad/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.25/Modules/CMakeTestCCompiler.cmake:70 (message):
      1> [CMake]   The C compiler
      1> [CMake] 
      1> [CMake]     "C:/Program Files/cad/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x86/cl.exe"
      1> [CMake] 
      1> [CMake]   is not able to compile a simple test program.
      1> [CMake] 
      1> [CMake]   It fails with the following output:
      1> [CMake] 
      1> [CMake]     Change Dir: C:/Data/Projects/strawberry/strawberry/out/build/x64-Debug/CMakeFiles/CMakeScratch/TryCompile-xpvc80
      1> [CMake]     
      1> [CMake]     Run Build Command(s):C:/Program Files/cad/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_a84f8 && [1/2] Building C object CMakeFiles\cmTC_a84f8.dir\testCCompiler.c.obj
      1> [CMake]     [2/2] Linking C executable cmTC_a84f8.exe
      1> [CMake]     FAILED: cmTC_a84f8.exe 
      1> [CMake]     cmd.exe /C "cd . && "C:\Program Files\cad\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_a84f8.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- C:\PROGRA~1\cad\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x86\link.exe /nologo CMakeFiles\cmTC_a84f8.dir\testCCompiler.c.obj  /out:cmTC_a84f8.exe /implib:cmTC_a84f8.lib /pdb:cmTC_a84f8.pdb /version:0.0 /machine:X86  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
      1> [CMake]     RC Pass 1: command "rc /fo CMakeFiles\cmTC_a84f8.dir/manifest.res CMakeFiles\cmTC_a84f8.dir/manifest.rc" failed (exit code 0) with the following output:
      1> [CMake]     Nie można odnaleźć określonego pliku
      1> [CMake]     ninja: build stopped: subcommand failed.
      1> [CMake]     
      1> [CMake]     
      1> [CMake] 
      1> [CMake]   
      1> [CMake] 
      1> [CMake]   CMake will not be able to correctly generate this project.
      1> [CMake] Call Stack (most recent call first):
      1> [CMake]   CMakeLists.txt:3 (project)
      1> [CMake] -- Configuring incomplete, errors occurred!
      1> [CMake] See also "C:/Data/Projects/strawberry/strawberry/out/build/x64-Debug/CMakeFiles/CMakeOutput.log".
      1> [CMake] See also "C:/Data/Projects/strawberry/strawberry/out/build/x64-Debug/CMakeFiles/CMakeError.log".
      1> Wykonanie operacji „C:\windows\system32\cmd.exe” „/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\CAD\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe"  -G "Ninja"  -DCMAKE_BUILD_TYPE:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="C:\data\projects\strawberry\strawberry\out\install\x64-Debug" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files/cad/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x86/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files/cad/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x86/cl.exe" -DARCH=x86_64 -DICU_ROOT=c:\\strawberry_msvc_x86_64_debug -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES\CAD\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "C:\data\projects\strawberry\strawberry" 2>&1"” nie powiodło się z powodu błędu: „„C:\windows\system32\cmd.exe”: element „/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\CAD\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe"  -G "Ninja"  -DCMAKE_BUILD_TYPE:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="C:\data\projects\strawberry\strawberry\out\install\x64-Debug" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files/cad/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x86/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files/cad/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x86/cl.exe" -DARCH=x86_64 -DICU_ROOT=c:\\strawberry_msvc_x86_64_debug -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES\CAD\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "C:\data\projects\strawberry\strawberry" 2>&1"” zwrócił kod zakończenia: 1”.
      
      
      posted in Development
      P
      przemhb
    • RE: Audio output at 44.1k despite Hi-Res input file/stream - a bug or not implemented Hi-Res support?

      @jonas Could you elaborate a little on the VLC test?

      posted in Technical Help
      P
      przemhb
    • RE: Audio output at 44.1k despite Hi-Res input file/stream - a bug or not implemented Hi-Res support?

      Thanks for your reply.
      I have all the 3 settings disabled. As long as WASAPI is used in non-exclusive mode every soundcard or DAC is opened with its default system settings, whereas in the exclusive mode app which opens the DAC can set them.
      So as a workaround I have started playback, checked sampling rate, stopped, changed Windows default sampling rate for my DAC to match the sample rate of my audio files. The sound improved a lot.
      Unfortunately this workaround is really inconvenient, especially in a longer run.

      Could you add WASAPI in exclusive mode? It could be marked as unstable etc.

      Do you mean VLC as a standalone app? I haven't spotted "exclusive" mode there for WASAPI.

      posted in Technical Help
      P
      przemhb
    • RE: Audio output at 44.1k despite Hi-Res input file/stream - a bug or not implemented Hi-Res support?

      I believe it is caused by not using WASAPI's exclusive mode. Wouldn't it be easy to add it? GStreamer wasapisink() function needs exclusive mode flag to be set (if this is indeed the function being used to output audio).

      posted in Technical Help
      P
      przemhb
    • Audio output at 44.1k despite Hi-Res input file/stream - a bug or not implemented Hi-Res support?

      I am running Strawberry 1.0.17 on Windows 10. It downsamples all high resolution files. No matter of the source - streaming nor local file. No matter WASAPI nor DirectSound.
      For example if I play local FLAC file 24/96 control panel of my USB DAC shows the DAC was open at 44.1kHz only.

      I know GStreamer has hi-res support. What about Strawberry? Is it lacking? Or there's a bug?

      posted in Technical Help
      P
      przemhb