What are the main differences between pipewire and pulseaudio? Which one is better? What are other alternative popular sound servers besides these two?

  • Audbol@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    4
    ·
    1 year ago

    I answered below, you can also read on any of the ALSA pages as well as the wiki page for it. Wealth of knowledge on the subject is available

    • uis@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      https://www.alsa-project.org/alsa-doc/alsa-lib/pcm.html

      After application transfers the data in the memory areas, then it must be acknowledged the end of transfer via snd_pcm_mmap_commit() function to allow the ALSA library update the pointers to ring buffer. This kind of communication is also called “zero-copy”, because the device does not require to copy the samples from application to another place in system memory.

      When you tell RTFM expect to see manual stating opposite of your point.

      • Audbol@lemmy.world
        link
        fedilink
        arrow-up
        1
        arrow-down
        2
        ·
        1 year ago

        That’s still not direct hardware, if you think you cracked the code then by all means show everyone otherwise, this would be a huge deal for a lot of people

        • uis@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          Not direct enough? It literally says it will send your buffer straight to soundcard without creating any additional buffers.

          Other people under this post complain of ALSA being too direct.