project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 General Discussion
27 Jul 2021, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 General Discussion General discussion of the Project Reality: BF2 modification.

Reply
 
Thread Tools Display Modes
Old 2017-01-09, 23:40   #11
WeeGeez
Supporting Member

WeeGeez's Avatar
Default Re: [XP] Bypass Directsound resampling

I found some information on the Microsoft knowledge base here. This concerns XP mixer only. See attachment.

I had to read over it few times.

The highlight of that page is not in the attatchment. Theres a special command that BF2 can execute to "lock" the sample rate, in turn this would force condition four from the table, as mumble is higher than PR.

Quote:
KMixer does not adjust its output rate when a client makes an IDirectSoundBuffer::SetFrequency call on a DirectSound buffer. Instead, KMixer adjusts the output rate when the buffer is first played.
Is this call accessible or hard coded in BF2?
Attached Thumbnails
untitled.GIF  


Cheap computer build / fast track upgrade for slow computer for PR > Guide
WeeGeez is offline Reply With Quote
Old 2017-01-10, 00:46   #12
Jaymz
Retired PR Developer
Supporting Member

Jaymz's Avatar
Default Re: [XP] Bypass Directsound resampling

Quote:
Originally Posted by WeeGeez View Post
In that case on Windows 7 in Speaker Properties, I'd set that to 16/44. 24bit is only useful you live in a anechoic chamber.
I set it to 24bit, since outputting 16bit content at 24bit is lossless anyway. But for the rare time I open a 24-bit file, I want it to play back without being converted/dithered to 16.

"Clear the battlefield and let me see, All the profit from our victory." - Greg Lake
Jaymz is offline Reply With Quote
Old 2017-01-10, 00:53   #13
WeeGeez
Supporting Member

WeeGeez's Avatar
Default Re: [XP] Bypass Directsound resampling

Agreed. Any comment on that call command?


Cheap computer build / fast track upgrade for slow computer for PR > Guide
WeeGeez is offline Reply With Quote
Old 2017-01-11, 16:32   #14
Jaymz
Retired PR Developer
Supporting Member

Jaymz's Avatar
Default Re: [XP] Bypass Directsound resampling

I wouldn't know.

"Clear the battlefield and let me see, All the profit from our victory." - Greg Lake
Jaymz is offline Reply With Quote
Reply


Tags
bypass, directsound, resampling
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 06:18.