Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ARNOBeta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ar-noc
ARNOBeta
Commits
554fdb14
Commit
554fdb14
authored
2 years ago
by
Nicholas Nakano
Browse files
Options
Downloads
Patches
Plain Diff
Attempted rework of Voice Chat UI Widget. Still work in progress.
parent
37363443
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Source/arnocMain/Private/ARNOPlayerController.cpp
+10
-0
10 additions, 0 deletions
Source/arnocMain/Private/ARNOPlayerController.cpp
Source/arnocMain/Public/ARNOPlayerController.h
+6
-0
6 additions, 0 deletions
Source/arnocMain/Public/ARNOPlayerController.h
with
16 additions
and
0 deletions
Source/arnocMain/Private/ARNOPlayerController.cpp
+
10
−
0
View file @
554fdb14
...
...
@@ -124,6 +124,16 @@ TArray<FVoiceDevice> AARNOPlayerController::GetOutputDevices()
return
OutputDevices
;
}
void
AARNOPlayerController
::
SetVoiceInputDevice
(
FString
DeviceID
)
{
VoiceChatUser
->
SetInputDeviceId
(
DeviceID
);
}
void
AARNOPlayerController
::
SetVoiceOutputDevice
(
FString
DeviceID
)
{
VoiceChatUser
->
SetOutputDeviceId
(
DeviceID
);
}
void
AARNOPlayerController
::
MuteVOIP
()
{
if
(
VoiceChatUser
!=
nullptr
&&
VoiceChatUser
->
IsLoggedIn
())
...
...
This diff is collapsed.
Click to expand it.
Source/arnocMain/Public/ARNOPlayerController.h
+
6
−
0
View file @
554fdb14
...
...
@@ -62,6 +62,12 @@ public:
UFUNCTION
(
BlueprintCallable
)
TArray
<
FVoiceDevice
>
GetOutputDevices
();
UFUNCTION
(
BlueprintCallable
)
void
SetVoiceInputDevice
(
FString
DeviceID
);
UFUNCTION
(
BlueprintCallable
)
void
SetVoiceOutputDevice
(
FString
DeviceID
);
UFUNCTION
(
BlueprintCallable
)
void
MuteVOIP
();
UFUNCTION
(
BlueprintCallable
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment