Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
49a1e3db
Unverified
Commit
49a1e3db
authored
May 07, 2020
by
Rémi Verschelde
Committed by
GitHub
May 07, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #38524 from hoontee/master
Fix bug with AudioStreamPlayer3D audio position
parents
9668c1cd
330bd686
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
audio_stream_player_3d.cpp
scene/3d/audio_stream_player_3d.cpp
+5
-0
No files found.
scene/3d/audio_stream_player_3d.cpp
View file @
49a1e3db
...
...
@@ -710,6 +710,11 @@ float AudioStreamPlayer3D::get_pitch_scale() const {
void
AudioStreamPlayer3D
::
play
(
float
p_from_pos
)
{
if
(
!
is_playing
())
{
// Reset the prev_output_count if the stream is stopped
prev_output_count
=
0
;
}
if
(
stream_playback
.
is_valid
())
{
active
=
true
;
setplay
=
p_from_pos
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment