Author Topic: "dropping sound" <-- a message driving me crazy  (Read 3527 times)

Somtin

  • Posts: 28
  • Turrets: +0/-0
"dropping sound" <-- a message driving me crazy
« on: September 29, 2006, 08:35:30 am »
When ever the sound was already taken from someone else(via ssh and xmms - I was on the computer that has the speakers) tremulous puts out as a message, "dropping sound" every single time it tried to play a sound. As a whole lot of sounds are being played, as soon as something gets typed or someone gets killed, its lost in about a second. It was driving me insane, so I ripped into the source code is changed it in client. I rebuilt, and it seemed to work. If anyone wants a copy of the executable, pm me. Also, is there another way? Some sought of cvar? All I did is comment out the line where it prints out dropping sound - a pretty harsh hack so I was wondering if there was another way... That was a little easier to change it.

EDIT: heres a patch for anyone who doesn't mind compiling the source..
Goes with src/client/snd_dma.c
Code: [Select]
*** snd_dma.c   2006-09-29 19:38:35.000000000 +1200
--- snd_dma-mine.c      2006-09-29 19:38:05.000000000 +1200
***************
*** 541,547 ****
                                        }
                                }
                                if (chosen == -1) {
!                                       Com_Printf("dropping sound\n");
                                        return;
                                }
                        }
--- 541,547 ----
                                        }
                                }
                                if (chosen == -1) {
! //                                    Com_Printf("dropping sound\n");
                                        return;
                                }
                        }

stahlsau

  • Posts: 160
  • Turrets: +1/-1
"dropping sound" <-- a message driving me crazy
« Reply #1 on: September 29, 2006, 10:15:37 am »
hi,
just install the correct sounddriver the correct way ;)

For real, i had this problem (amongst others) too some years ago. Alsa just can't do hardwaremixing (afaik, at least it couldn't when i needed it), and it's softwaremixing 1. sucks and 2. doesn't work good with games that use oss-emulation.

The only way i could get hardwaremixing and optical output to work was to install the proprietary oss-drivers from opensound.com. They are free, but not opensource...that sucks too, but is better than no or crappy sound.

Maybe you could find another approach, for me it was the only thing that worked...and still works.

Somtin

  • Posts: 28
  • Turrets: +0/-0
"dropping sound" <-- a message driving me crazy
« Reply #2 on: September 29, 2006, 07:28:25 pm »
Well, it depends whether my Dad puts on the radio station or not - before, if he wasn't on, I could play sounds, if he was, the console spits out dropping sound ever 10th of a second. Now, if hes using the sound card, it just shuts up. :}