p-rivero / DiscordAudioStream

Windows utility for streaming (with audio!) in Discord. Easily share the the audio of entire screen, or even use OBS for streaming!
GNU General Public License v3.0
180 stars 7 forks source link

GTA SA audio capture problem #52

Open sanscriptum opened 1 week ago

sanscriptum commented 1 week ago

It's a bit of an edge case, but in modded GTA San Andreas that runs with the Cleo plugin system and dll (that also includes bass.dll), only Cleo sound is being captured - specifically those that are played through Cleo scripts, but not the game audio itself. For example, I have ambient sounds from a mod and I can hear that fine, but not anything else. Checked on another applications and those work properly, so it must be a unique kind of problem. Might be kind of hard to reproduce though.

p-rivero commented 1 week ago

Let's see if we can find the root problem. Try the following steps:

  1. Open windows sound settings / volume mixer
  2. Change the default output device to some unused device. You should stop hearing audio from all apps.
  3. Change the output of GTA SA to your headset/speakers. Can you hear the game audio, the cleo audio, or both?
  4. If you cannot hear both, see if there are other sources outputting audio, and try changing their output device to your speakers until you are happy with what you hear.

Let me know your findings

sanscriptum commented 1 week ago

See, there's this problem - on Win 7 you can't change audio output of apps willy nilly, even with apps like CheVolume. It's a real stepback from WinXP and it keeps plaguing me to this day.

Here's what I did:

  1. Changed the default output to speakers - which usually sets the audio of ANY opened app next to be on that device.
  2. Launched GTA SA - can't hear anything
  3. Changed the default output back to headphones - still can't hear anything.
  4. Launched DiscordAudioStream and started stream with the input device set to speakers - can only hear cleo audio (which means only audio from script mods, but not stuff like cars, people, gunshots, etc).

This kind of procedure usually worked with any other game previously FYI. Anyhow, it might not be crucial to fix anymore because Discord app has died on Win7 for good this time, so strimming is dead there anyway 😂

Cheers.

p-rivero commented 1 week ago

I see. As you said, reproducing this is almost impossible for me at this time, so I don't think I can help you with this one :(

Also, I didn't know the Discord app was officially dead on Win7. That means that trying to fix this issue won't make much sense anyway. I suppose you are totally aware that Windows 7 hasn't been supported since 2020 and you will need to update sooner or later.

sanscriptum commented 3 days ago

I recently tried to play Vice City with CLEO, and I noticed something interesting - switching audio device while the application is running does nothing, it keeps using the original device no matter what until it's restarted. I haven't tried it without CLEO yet. This behavior might be similar for all three 3D universe games.