• 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

USB audio incompatible with mame4all?

Scheduled Pinned Locked Moved Help and Support
mame-mame4alllrmamexin moretropie
21 Posts 3 Posters 2.6k 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.
  • M
    mitu Global Moderator
    last edited by 9 May 2020, 20:08

    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 9 May 2020, 20:12 Reply Quote 0
    • T
      t3stin @mitu
      last edited by t3stin 5 Sept 2020, 21:12 9 May 2020, 20:12

      @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 9 May 2020, 20:47

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

        M 1 Reply Last reply 9 May 2020, 20:49 Reply Quote 0
        • M
          mitu Global Moderator @t3stin
          last edited by 9 May 2020, 20:49

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

          T 1 Reply Last reply 9 May 2020, 21:12 Reply Quote 0
          • T
            t3stin @mitu
            last edited by 9 May 2020, 21:12

            @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 9 May 2020, 21:14 Reply Quote 0
            • T
              t3stin @t3stin
              last edited by 9 May 2020, 21:14

              @t3stin IMG_20200509_220719.jpg

              T 1 Reply Last reply 9 May 2020, 21:16 Reply Quote 0
              • T
                t3stin @t3stin
                last edited by 9 May 2020, 21:16

                @t3stin IMG_20200509_220657.jpg

                1 Reply Last reply Reply Quote 0
                • M
                  mitu Global Moderator
                  last edited by 10 May 2020, 03:19

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

                  T 1 Reply Last reply 10 May 2020, 08:53 Reply Quote 0
                  • T
                    t3stin @mitu
                    last edited by 10 May 2020, 08:53

                    @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 10 May 2020, 14:50 Reply Quote 0
                    • G
                      grant2258 Banned @t3stin
                      last edited by 10 May 2020, 14:50

                      @t3stin

                      check with alsamixer to see what the volume it set too

                      T 1 Reply Last reply 10 May 2020, 15:38 Reply Quote 0
                      • T
                        t3stin @grant2258
                        last edited by 10 May 2020, 15:38

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

                        1 Reply Last reply Reply Quote 0
                        • G
                          grant2258 Banned
                          last edited by 10 May 2020, 17:48

                          can you post the output of

                          amixer -M
                          and
                          amixer

                          T 1 Reply Last reply 11 May 2020, 09:28 Reply Quote 0
                          • T
                            t3stin @grant2258
                            last edited by 11 May 2020, 09:28

                            @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 5 Nov 2020, 13:28 11 May 2020, 12:03

                              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 11 May 2020, 14:38 Reply Quote 0
                              • T
                                t3stin @grant2258
                                last edited by 11 May 2020, 14:38

                                @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 11 May 2020, 15:03

                                  Nasty the speaker wasnt working glad you got it fixed!

                                  1 Reply Last reply Reply Quote 0
                                  21 out of 21
                                  • First post
                                    21/21
                                    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