Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

madplay doesn't set gain, apparently

2008-03-12
2013-04-24
  • I built madplay 0.15.2 (beta) for Linux x86. The gain options (e.g., -A18) do not seem to be sufficient. If I first run mpg123 (or amixer, or aumix) and set the gain, for example, then the -A option to madplay makes a difference. With just madplay it is not possible to hear any sound output. Even with -A18. I also tried, naively I'm sure, to take out the MAX limit in the code and try to set the value even higher than 18, but to no avail.

    So, is this a bug in madplay, or is there some way to get it to properly set the gain. I assume what needs to be done is inform the driver for sound that the playback volume needs to be higher.

     
    • Rob Leslie
      Rob Leslie
      2008-03-12

      madplay doesn't set or change the sound device's mixer volume settings. The -A option only changes the PCM sent to the device. So, you will still need to set the device volume by other means (e.g. amixer/aumix).