Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
a00d4120
Commit
a00d4120
authored
Aug 23, 2017
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
player/Thread: initialize play_audio_format, fixes assertion
This fixes an assertion failure caused by resuming playback before the decoder has finished startup.
parent
5fb39658
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
NEWS
NEWS
+1
-0
Thread.cxx
src/player/Thread.cxx
+1
-1
No files found.
NEWS
View file @
a00d4120
...
...
@@ -5,6 +5,7 @@ ver 0.20.10 (not yet released)
- aiff: fix FORM chunk size endianess (is big-endian)
* mixer
- osx: add a mixer for OSX.
* fix crash when resuming playback before decoder is ready
* fix crash on Windows
ver 0.20.9 (2017/06/04)
...
...
src/player/Thread.cxx
View file @
a00d4120
...
...
@@ -135,7 +135,7 @@ class Player {
/**
* The current audio format for the audio outputs.
*/
AudioFormat
play_audio_format
;
AudioFormat
play_audio_format
=
AudioFormat
::
Undefined
()
;
/**
* The time stamp of the chunk most recently sent to the
...
...
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