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
f34f694e
Commit
f34f694e
authored
Aug 26, 2008
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved player_command_finished() to player_thread.c
parent
e2c8b960
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
10 deletions
+8
-10
player_control.c
src/player_control.c
+0
-8
player_control.h
src/player_control.h
+0
-2
player_thread.c
src/player_thread.c
+8
-0
No files found.
src/player_control.c
View file @
f34f694e
...
...
@@ -56,14 +56,6 @@ static void player_command(enum player_command cmd)
}
}
void
player_command_finished
()
{
assert
(
pc
.
command
!=
PLAYER_COMMAND_NONE
);
pc
.
command
=
PLAYER_COMMAND_NONE
;
wakeup_main_task
();
}
void
playerPlay
(
Song
*
song
)
{
assert
(
pc
.
queueLockState
==
PLAYER_QUEUE_UNLOCKED
);
...
...
src/player_control.h
View file @
f34f694e
...
...
@@ -107,8 +107,6 @@ extern struct player_control pc;
void
pc_init
(
unsigned
int
buffered_before_play
);
void
player_command_finished
(
void
);
void
playerPlay
(
Song
*
song
);
void
playerSetPause
(
int
pause_flag
);
...
...
src/player_thread.c
View file @
f34f694e
...
...
@@ -32,6 +32,14 @@ enum xfade_state {
XFADE_ENABLED
=
1
};
static
void
player_command_finished
(
void
)
{
assert
(
pc
.
command
!=
PLAYER_COMMAND_NONE
);
pc
.
command
=
PLAYER_COMMAND_NONE
;
wakeup_main_task
();
}
static
void
quitDecode
(
void
)
{
dc_stop
(
&
pc
.
notify
);
...
...
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