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

    USB audio incompatible with mame4all?

    Scheduled Pinned Locked Moved Help and Support
    mame-mame4alllrmamexin moretropie
    21 Posts 3 Posters 2.7k 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.
    • mituM
      mitu Global Moderator
      last edited by

      Either the rom is faulty (but since it works with lr-mame2000 that may not be the case) or mame4all doesn't like the the ALSA setup.
      There's an extensive post here about a similar setup. Try adapting the .asoundrc file to your setup and see if you get mame4all to work.

      T 2 Replies Last reply Reply Quote 0
      • T
        t3stin @mitu
        last edited by t3stin

        @mitu will take a look at the post but literally all the roms worked in mame4all until adding the USB audio, if I remove it all the roms work again.

        1 Reply Last reply Reply Quote 0
        • T
          t3stin @mitu
          last edited by

          @mitu ok besides the rom I tested with earlier most others seem to work again with those changes but I'm still unbelievably getting no audio 😭 would it be worth checking the runcommand log again or will it be blank as the rims work? Finally should card "U012529205" mentioned below be unique or would this be generic? Not sure how I find out what I replace that with and I appreciate all the help your giving!```
          }
          pcm.usb {
          type hw
          card "U012529205"
          format S16_LE
          }

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @t3stin
            last edited by

            @t3stin Try listing the cards with aplay -l, yours may have a different name.

            T 1 Reply Last reply Reply Quote 0
            • T
              t3stin @mitu
              last edited by

              @mitu so I get the right answer here's a few screenshots if you're able to decipher? In ES I have card as sysdefault, device as speaker and 0MX as ALSA:HW:0,0

              IMG_20200509_220635.jpg

              T 1 Reply Last reply Reply Quote 0
              • T
                t3stin @t3stin
                last edited by

                @t3stin IMG_20200509_220719.jpg

                T 1 Reply Last reply Reply Quote 0
                • T
                  t3stin @t3stin
                  last edited by

                  @t3stin IMG_20200509_220657.jpg

                  1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator
                    last edited by

                    Sounds like the name is 'USB PnP Sound Device'.

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      t3stin @mitu
                      last edited by

                      @mitu ROMs load, no errors in run command, when I run a test wav file the light on the usb sound card flashes yet I still have nothing coming out of the speaker (which was new)...never realised it would be so difficult to get some sound out of this thing! Should I just give up and play in silence? 😐

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        grant2258 Banned @t3stin
                        last edited by

                        @t3stin

                        check with alsamixer to see what the volume it set too

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          t3stin @grant2258
                          last edited by

                          @grant2258 I had checked there, it was set to 100

                          1 Reply Last reply Reply Quote 0
                          • G
                            grant2258 Banned
                            last edited by

                            can you post the output of

                            amixer -M
                            and
                            amixer

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              t3stin @grant2258
                              last edited by

                              @grant2258 see attached Screenshot_20200511-102621.png

                              Screenshot_20200511-102603.png

                              1 Reply Last reply Reply Quote 0
                              • G
                                grant2258 Banned
                                last edited by grant2258

                                if you look at mono playback it appears to be off (mic) open alsamixer again use the leftt and right arrow keys to check if anything is muted or off also what is your sound.

                                edit:

                                Check if you have a ~/.asoundrc file in your user home directory; it will override settings in /etc/asound.conf

                                more info here

                                https://www.alsa-project.org/main/index.php/Asoundrc

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  t3stin @grant2258
                                  last edited by

                                  @grant2258 all was fine there.....would you believe out of curiosity I found out some really old headphones and the sound was blaring from them - apparently brand new speaker DOESNT work!! Thanks for all your help guys.

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    grant2258 Banned
                                    last edited by

                                    Nasty the speaker wasnt working glad you got it fixed!

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      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.