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
900784bb
Commit
900784bb
authored
Feb 15, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder_api: moved enum decoder_command to decoder_command.h
Minimize header dependencies, again.
parent
3e3c5242
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
9 deletions
+35
-9
decoder_api.h
src/decoder_api.h
+1
-7
decoder_command.h
src/decoder_command.h
+29
-0
decoder_control.h
src/decoder_control.h
+1
-2
decoder_thread.c
src/decoder_thread.c
+3
-0
player_thread.c
src/player_thread.c
+1
-0
No files found.
src/decoder_api.h
View file @
900784bb
...
...
@@ -26,6 +26,7 @@
*
*/
#include "decoder_command.h"
#include "decoder_plugin.h"
#include "input_stream.h"
#include "replay_gain.h"
...
...
@@ -34,13 +35,6 @@
#include <stdbool.h>
enum
decoder_command
{
DECODE_COMMAND_NONE
=
0
,
DECODE_COMMAND_START
,
DECODE_COMMAND_STOP
,
DECODE_COMMAND_SEEK
};
/**
* Notify the player thread that it has finished initialization and
...
...
src/decoder_command.h
0 → 100644
View file @
900784bb
/*
* Copyright (C) 2003-2009 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef MPD_DECODER_COMMAND_H
#define MPD_DECODER_COMMAND_H
enum
decoder_command
{
DECODE_COMMAND_NONE
=
0
,
DECODE_COMMAND_START
,
DECODE_COMMAND_STOP
,
DECODE_COMMAND_SEEK
};
#endif
src/decoder_control.h
View file @
900784bb
...
...
@@ -20,8 +20,7 @@
#ifndef MPD_DECODER_CONTROL_H
#define MPD_DECODER_CONTROL_H
#include "decoder_api.h"
#include "decoder_command.h"
#include "audio_format.h"
#include "notify.h"
...
...
src/decoder_thread.c
View file @
900784bb
...
...
@@ -21,9 +21,12 @@
#include "decoder_control.h"
#include "decoder_internal.h"
#include "decoder_list.h"
#include "decoder_plugin.h"
#include "input_stream.h"
#include "player_control.h"
#include "pipe.h"
#include "song.h"
#include "tag.h"
#include "mapper.h"
#include "path.h"
#include "log.h"
...
...
src/player_thread.c
View file @
900784bb
...
...
@@ -26,6 +26,7 @@
#include "event_pipe.h"
#include "crossfade.h"
#include "song.h"
#include "tag.h"
#include "pipe.h"
#include "idle.h"
#include "main.h"
...
...
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