Skip to content

Commit

Permalink
spu2-x: Remove unused DirectSound 5.1 module
Browse files Browse the repository at this point in the history
It was copied over from SPU2ghz but never actually used.
  • Loading branch information
turtleli committed Jun 17, 2016
1 parent 0ecee3d commit eddabf9
Showing 1 changed file with 0 additions and 501 deletions.
Loading

18 comments on commit eddabf9

@willkuer
Copy link
Contributor

@willkuer willkuer commented on eddabf9 Jun 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And you can't make it work? :P

I think there were some requests for 5.1 in the forum. Although only a couple of games support it IIRC.

@mirh
Copy link

@mirh mirh commented on eddabf9 Jun 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed.
I think this was left unused because in the end giga never managed to get AC3 and DTS decoding to work (poor guy, all that work alone).

But technically a perfect emulator should. And those are 6 channels.

@turtleli
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Portaudio and xaudio2 modules seem to have 5.1? Or at least it looks like they do.

@mirh
Copy link

@mirh mirh commented on eddabf9 Jun 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ehrm.. @gigaherz help plz?
Perhaps this directsound was just something "postponed" back when the original project started, while portaudio and xaudio2 modules were just added regardless of anything?

@gigaherz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd love to be able to say exactly what this was for and such, but I have no memories related to this. XD

What I do remember, is that SPU2-X has (or used to have) options for using basic surround expansion (just extending the front speakers into the back), and the experimental Pro-Logic II dematrixer. However, I don't recall ever using them outside of XAudio2 and PortAudio.

Chances are we dropped the DSound module simply because XAudio2 served the same purpose (DSound on XP, WASAPI on Vista+), and there was no need to maintain two modules.

@mirh
Copy link

@mirh mirh commented on eddabf9 Jun 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait.. Did we drop directsound? I had miss this part.

@turtleli
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. Though since we don't support XP anymore it might be a good idea.

@gigaherz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant Dsound 5.1, not the whole dsound

@mirh
Copy link

@mirh mirh commented on eddabf9 Jun 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, ok.
Anyway, call me stale, but directsound still has its points, for as much as prolly nobody here care for access to audio buffers for remixing.

@gigaherz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sure DSound still has its uses, but for most practical purposes, XAudio2 works just the same, except with a nicer API. And for lower-level audio streaming, there's WASAPI, which is just better than raw KS (kernel streaming -- a painful headache to get working).

@mirh
Copy link

@mirh mirh commented on eddabf9 Jun 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I mean, I'm sure that for 99% of uses Xaudio2 is still better.
Still, as for XP drop, as long as it doesn't create any particular burden, I see no reason for ditching it.

And for lower-level audio streaming

Did you mean low latency? Because for that, technically, ASIO (included in portaudio) is even neater.

@gigaherz
Copy link
Member

@gigaherz gigaherz commented on eddabf9 Jun 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant low-level. For low-latency there is ASIO, yes, but only a tiny % of the sound cards have asio drivers, so it may as well not be there.

To clarify: there's things like ASIO4ALL, but they just wrap the KS/WASAPI interface, so it's not any lower latency than using WASAPI exclusive mode.

@gigaherz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dafuq, why did github decide to complete the "yes" as an username? I did not do that.

@mirh
Copy link

@mirh mirh commented on eddabf9 Jun 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not so fast :D

And, regardless, like above: as long as it doesn't tamper with the remainder stuff, I don't see why screwing even those few users for no gain.

Dafuq, why did github decide to complete the "yes" as an username?

Nope?

@FlatOutPS2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there were some requests for 5.1 in the forum. Although only a couple of games support it IIRC.

More than just a couple. There are dozens. It's something PCSX2 should definitely support. Most people probably think it does because of the audio expansion mode.

@mirh
Copy link

@mirh mirh commented on eddabf9 Jun 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another call to at least add Dolby/DTS to TODO list, never forgetti.

@gigaherz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If someone manages to decode the SPDIF bitstream into hearable audio, I'll donate them a beer or two ;P

@mirh
Copy link

@mirh mirh commented on eddabf9 Jun 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.