• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

VolumeControl.cpp? Location and turn off logging?

Scheduled Pinned Locked Moved Help and Support
volume control
4 Posts 2 Posters 518 Views
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.
  • J
    JamesRIves
    last edited by 11 Jun 2018, 13:40

    Hi everyone,

    Can anyone tell me the exact location of the volumecontrol.cpp file on a standard retropie/ES install file structure? I can't seem to find the file.

    Also, is there a simple way to turn off volume control.cpp's error logging to the terminal? I'm attempting to make my install as "clean" as possible, but for some reason, volumecontrol.cpp is one of the only files that occasionally reports errors to the terminal (before launching a rom, etc).

    Thanks,

    Jim

    M 1 Reply Last reply 11 Jun 2018, 13:51 Reply Quote 0
    • M
      mitu Global Moderator @JamesRIves
      last edited by 11 Jun 2018, 13:51

      @jamesrives said in VolumeControl.cpp? Location and turn off logging?:

      I can't seem to find the file.

      There is no such file. The file is part of the source code, but it's compiled in in Emulationstation, the message you're seeing shows the location - in the program - that's generating the log message.

      To silence such warning, find the autostart.sh script that starts ES and replace

      emulationstation
      

      with

      emulationstation 1>&2 2>/dev/null
      

      This should send the erorrs, or any log messages from ES, to /dev/null - and not show them on the console.

      1 Reply Last reply Reply Quote 0
      • J
        JamesRIves
        last edited by 11 Jun 2018, 14:02

        Thanks. I'll give that a try tonight.

        Jim

        1 Reply Last reply Reply Quote 0
        • J
          JamesRIves
          last edited by 12 Jun 2018, 23:46

          Your suggestion worked great! Thanks!

          Jim

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post

          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

            This community forum collects and processes your personal information.
            consent.not_received