• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

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

    Scheduled Pinned Locked Moved
    Technical Help
    3
    20
    2.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      przemhb @jonas
      last edited by

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

      1 Reply Last reply Reply Quote 0
      • V
        VSofter
        last edited by

        @jonas , are there any news about wasapi exclusive readdition?
        Probably, you could add the option "as is" so people could experiment with it?

        1 Reply Last reply Reply Quote 0
        • V
          VSofter
          last edited by

          Probably there is a way to implement ASIO in some form (just like foobar2000 does, for example)?

          jonasJ 1 Reply Last reply Reply Quote 0
          • jonasJ
            jonas @VSofter
            last edited by

            exclusive mode with WASAPI crashes immediately when stopping playback, or changing song, so it's no point enabling it before the issue is resolved.

            I've added ASIO support, you can download the latest MSVC build if you want to test it: https://builds.strawberrymusicplayer.org/windows/msvc/

            jonasJ 1 Reply Last reply Reply Quote 0
            • jonasJ
              jonas @jonas
              last edited by jonas

              ASIO does not currently work directly with the audio drivers ASIO, suspect it's a GStreamer bug, but it works with ASIO4ALL (https://asio4all.org/about/download-asio4all/)

              Bug reported to gstreamer here: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3321

              jonasJ 1 Reply Last reply Reply Quote 0
              • jonasJ
                jonas @jonas
                last edited by

                I can no longer reproduce any crashes with WASAPI in exclusive mode in release, only when debugging in Visual Studio 2022.
                So I've added exclusive mode as an option when WASAPI is selected as output. Both MSVC and MinGW should have it, please test with the latest build from https://builds.strawberrymusicplayer.org/windows/

                jonasJ P 2 Replies Last reply Reply Quote 0
                • jonasJ
                  jonas @jonas
                  last edited by

                  https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3326

                  1 Reply Last reply Reply Quote 0
                  • P
                    przemhb @jonas
                    last edited by

                    @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.

                    jonasJ 1 Reply Last reply Reply Quote 0
                    • jonasJ
                      jonas @przemhb
                      last edited by

                      @przemhb
                      What output? WASAPI, WASAPI2 or ASIO?

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        przemhb @jonas
                        last edited by

                        @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
                        
                        jonasJ 1 Reply Last reply Reply Quote 0
                        • jonasJ
                          jonas @przemhb
                          last edited by

                          @przemhb
                          Exclusive mode currently is only available with WASAPI.

                          V 1 Reply Last reply Reply Quote 0
                          • V
                            VSofter @jonas
                            last edited by

                            @jonas,
                            Tried both ASIO/WASAPI Exclusive options.
                            ASIO works with Steinberg UR MKII ASIO driver just fine, as well as it fails to work with ASUS Xonar Essence ASIO (Configured audiosink audiobin is not working).

                            As to WASAPI-Exclusive - it seems to work (Strawberry shows track is playing) but with no sound at all (other apps also do not play sound while Strawberry is active with WASAPI-Exclusive activated).

                            Something I could try more?)

                            jonasJ 1 Reply Last reply Reply Quote 0
                            • jonasJ
                              jonas @VSofter
                              last edited by

                              2 updates:
                              WASAPI2 exclusive stability issue should be fixed.
                              ASIO not working with other drivers than ASIO4ALL should be fixed.

                              Please try the latest from https://builds.strawberrymusicplayer.org/windows/msvc/, currently 1.0.23.48.g9b1035a5.

                              P V 2 Replies Last reply Reply Quote 0
                              • P
                                przemhb @jonas
                                last edited by

                                @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.

                                1 Reply Last reply Reply Quote 0
                                • V
                                  VSofter @jonas
                                  last edited by

                                  @jonas tried latest msvc build (.52), the changes are:
                                  instead of ASIO error message - Strawberry just freezes forever.

                                  WASAPI Exclusive - no changes.

                                  jonasJ 1 Reply Last reply Reply Quote 0
                                  • jonasJ
                                    jonas @VSofter
                                    last edited by jonas

                                    @VSofter

                                    I can reproduce the issue with wasapi exclusive mode playing low distorted audio, reported here: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3339

                                    I can periodically reproduce a issue with ASIO where the track is played at lower speed, have to look more into that.

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Powered by NodeBB | Contributors