Commit Graph

27 Commits

Author SHA1 Message Date
jake burga
fa6ac56033 Add API to seek to a specific frame so we can be way more accurate about seeking.
- Avoids converting Frames to Seconds then back to Frames again.
- Allows for more precise (frame specific) seeking

[REVIEW] [at]jimmy.smith [at]brian.chrisman

[CL 28273237 by jake burga in ue5-main branch]
2023-09-27 10:20:58 -04:00
jake burga
2e1f6b8620 Get rid of BackCompat decoder from WaveProxyReader
Largely just a "copy-paste" implementation of the BackCompat decoder in the SoundWaveProxyReader. Further refactor work will be done in a separate check-in to make it easier to see what actually got changed.

Some things that did change when porting over:
- Remove some "EDecodeResult" enums to avoid complex logic
- Actually use `ICompressedAudioInfo::SeekToTime` instead of reinitializing the decoder to seek.

[REVIEW] [at]jimmy.smith [at]phil.popp [at]charlie.huguenard [at]buzz.burrowes

[CL 27613076 by jake burga in ue5-main branch]
2023-09-05 17:22:07 -04:00
jake burga
9bd573fa1a Fix audio sync issues.
Properly report the number of samples that have been "streamed".

Update it in all of our decoders that implement this method.

Still using the "BackCompat" decoder, take advantage of this number to mantain sync with the audio.

[REVIEW] [at]jimmy.smith [at]phil.popp [at]buzz.burrowes [at]charlie.huguenard

[CL 27599211 by jake burga in ue5-main branch]
2023-09-05 12:09:38 -04:00
jimmy smith
1df97cb974 Bink Latency Fixes (Owner Loading behavior tagging,Inline first chunk of audio optionally with Retained audio, Changed MONO_PCM size to 480)
#rb phil.popp dan.thompson matt.peters

[CL 27248696 by jimmy smith in ue5-main branch]
2023-08-21 14:53:59 -04:00
marc audy
956a3e7f5b Fix missing exported functions
[CODEREVIEW] jake.burga, phil.popp
#horde 341705
#rnx
#jira

[CL 26765871 by marc audy in ue5-main branch]
2023-08-02 01:49:01 -04:00
jake burga
4a8ed9757a "Move/Rename" Metasound/MetasoundWaveProxReader to -> AudioCodecEngine/SoundWaveProxyReader
(Actually, just "Add" new SoundWaveProxyReader class. Should also delete old class in same CL?)

[REVIEW] [at]phil.popp

[CL 26752479 by jake burga in ue5-main branch]
2023-08-01 16:16:36 -04:00
jimmy smith
a16df7fe4c Fix non-matching PRAGMA_ENABLE_DEPRECATION_WARNINGS pair.
#jira none
#preflight skip

[CL 25776044 by jimmy smith in ue5-main branch]
2023-06-02 18:31:58 -04:00
jimmy smith
d256cc1f44 Deprecate IAudioCodec API
#rb alfaroh.corney jake.burga
#jira none
#preflight 6477eaae1c5c2b3fa2e4e53d

[CL 25770939 by jimmy smith in ue5-main branch]
2023-06-02 15:27:25 -04:00
phil popp
3da067086e Fix for frame counter uint rollover when decoding wave in metasounds
[CL 25020016 by phil popp in ue5-main branch]
2023-04-12 20:46:34 -04:00
jimmy smith
13568c538e Fix bad merge coming from FNMain.
#rbx
#prefight skip

[CL 24569877 by jimmy smith in ue5-main branch]
2023-03-08 19:32:24 -05:00
jimmy smith
ff7a0e1036 Fix for ensure when changing format on a SoundWave that are forceinline.
#preflight 6408e8d36c1b9295b9c9f7fb
#rb phil.popp

[CL 24569869 by jimmy smith in ue5-main branch]
2023-03-08 19:32:08 -05:00
jimmy smith
64b5873f56 Deprecate CreateCompressedInfo path and GetRuntimeFormat in favour of IAudioInfoFactoryRegistry
#rb phill.popp
#jira none
#preflight 63bca93f0b7fcef8b093d9b7

[CL 23622468 by jimmy smith in ue5-main branch]
2023-01-09 19:09:51 -05:00
rob gay
9ed959dac8 Downgrade seek ensure to log
- Add more logging around failures in ADPCM decode
- Remove superfluous logs
#rb jimmy.smith
#rnx
#jira UE-145250
#preflight 6230cac1cf609c54b1e5ae8e
#p4v-cherrypick 19390151

[CL 19394411 by rob gay in ue5-main branch]
2022-03-15 16:40:51 -04:00
phil popp
da2afef306 Fix crash when playing a metasound in PIE after using multiple client windows.
#jira UE-140408
#rb Max.Hayes
#preflight 61f335c175432e9e8e694095

#ROBOMERGE-AUTHOR: phil.popp
#ROBOMERGE-SOURCE: CL 18765641 in //UE5/Release-5.0/... via CL 18765642 via CL 18765714
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18765736 by phil popp in ue5-main branch]
2022-01-27 19:27:22 -05:00
phil popp
44fc0c38c2 Rework Metasound Wave Player
#jira UE-134456
#rb Aaron.McLeran
#preflight 61f1e6c2f8088a3d299c5b9a

#ROBOMERGE-AUTHOR: phil.popp
#ROBOMERGE-SOURCE: CL 18748267 in //UE5/Release-5.0/... via CL 18748279 via CL 18748380
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18748393 by phil popp in ue5-main branch]
2022-01-26 19:58:08 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
jimmy smith
13b22ccbee Bandaid fix for Deadlock on Exit.
#jira UETOP-1384
#rb dan.thompson

#ROBOMERGE-SOURCE: CL 16106338 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v789-15992632)

[CL 16106343 by jimmy smith in ue5-main branch]
2021-04-23 16:50:30 -04:00
maxwell hayes
c5eac593f9 Fix for editor-only crash when previewing a sound after changing USoundWave properties
#rb Rob.Gay
#jira UE-111376

#ROBOMERGE-SOURCE: CL 15803697 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15808129 by maxwell hayes in ue5-main branch]
2021-03-24 16:42:04 -04:00
maxwell hayes
f6ea79f30b Adding seek and looping ability to metasound wave playe node.
#rb Aaron.McLeran
#jira UEAU-728, UEAU-587, wave
#preflight 6050099457edcb0001511a4e

#ROBOMERGE-SOURCE: CL 15708178 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15708220 by maxwell hayes in ue5-main branch]
2021-03-15 22:10:18 -04:00
rob gay
9af5718f2c IWYU Fix
[FYI] maxwell.hayes
#jira UE-109868
#rb trivial

#ROBOMERGE-SOURCE: CL 15584489 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v777-15581079)

[CL 15584498 by rob gay in ue5-main branch]
2021-03-03 13:19:43 -04:00
maxwell hayes
a781a97922 Improvements to Metasound Wave decoding
#jira UE-108501, UE-107548, UEAU-693
#rb Phil.Popp

#ROBOMERGE-SOURCE: CL 15564761 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15564769 by maxwell hayes in ue5-main branch]
2021-03-01 20:25:28 -04:00
maxwell hayes
3df260760b Fix Non-unity compile error
#jira UE-109611
#rb trivial

#ROBOMERGE-SOURCE: CL 15559811 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15560429 by maxwell hayes in ue5-main branch]
2021-03-01 15:18:56 -04:00
mark lintott
7a04c5705f Various fixes for Unity Builds
#rb trivial

[CL 15559122 by mark lintott in ue5-main branch]
2021-03-01 13:39:42 -04:00
maxwell hayes
fdbecb4db6 Follow-up refactor to address fallout from FSoundWaveProxy
#jira UE-108764, UE-109386, UE-108969, UEAU-691
#rb Phill.Popp

#ROBOMERGE-SOURCE: CL 15538813 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15538828 by maxwell hayes in ue5-main branch]
2021-02-26 02:30:51 -04:00
jimmy smith
a891b394de Add forward declare to fix nounity CIS error
#rb trivial
#jira none

#ROBOMERGE-SOURCE: CL 15362073 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15368706 by jimmy smith in ue5-main branch]
2021-02-09 14:46:04 -04:00