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
54aff331
Commit
54aff331
authored
Dec 20, 2017
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
player/Thread: reorder attributes to reduce padding
parent
499e053d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
Thread.cxx
src/player/Thread.cxx
+12
-12
No files found.
src/player/Thread.cxx
View file @
54aff331
...
...
@@ -53,6 +53,18 @@ class Player {
MusicPipe
*
pipe
;
/**
* the song currently being played
*/
std
::
unique_ptr
<
DetachedSong
>
song
;
/**
* The tag of the "next" song during cross-fade. It is
* postponed, and sent to the output thread when the new song
* really begins.
*/
std
::
unique_ptr
<
Tag
>
cross_fade_tag
;
/**
* are we waiting for buffered_before_play?
*/
bool
buffering
=
true
;
...
...
@@ -88,11 +100,6 @@ class Player {
bool
output_open
=
false
;
/**
* the song currently being played
*/
std
::
unique_ptr
<
DetachedSong
>
song
;
/**
* Is cross-fading to the next song enabled?
*/
enum
class
CrossFadeState
:
uint8_t
{
...
...
@@ -127,13 +134,6 @@ class Player {
unsigned
cross_fade_chunks
=
0
;
/**
* The tag of the "next" song during cross-fade. It is
* postponed, and sent to the output thread when the new song
* really begins.
*/
std
::
unique_ptr
<
Tag
>
cross_fade_tag
;
/**
* The current audio format for the audio outputs.
*/
AudioFormat
play_audio_format
=
AudioFormat
::
Undefined
();
...
...
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