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
d50a3d51
Commit
d50a3d51
authored
Feb 22, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shout: removed shout_plugin.h
There are no plugins left which require shout_plugin.h. Moved the struct declaration to shout_plugin.c.
parent
1c56edd1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
54 deletions
+28
-54
Makefile.am
src/Makefile.am
+0
-1
shout_plugin.c
src/output/shout_plugin.c
+28
-1
shout_plugin.h
src/output/shout_plugin.h
+0
-52
No files found.
src/Makefile.am
View file @
d50a3d51
...
@@ -53,7 +53,6 @@ mpd_headers = \
...
@@ -53,7 +53,6 @@ mpd_headers = \
output_state.h
\
output_state.h
\
output_print.h
\
output_print.h
\
output_command.h
\
output_command.h
\
output/shout_plugin.h
\
buffer2array.h
\
buffer2array.h
\
command.h
\
command.h
\
idle.h
\
idle.h
\
...
...
src/output/shout_plugin.c
View file @
d50a3d51
...
@@ -16,16 +16,43 @@
...
@@ -16,16 +16,43 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
*/
#include "
shout_plugin
.h"
#include "
output_api
.h"
#include "encoder_plugin.h"
#include "encoder_plugin.h"
#include "encoder_list.h"
#include "encoder_list.h"
#include <shout/shout.h>
#include <glib.h>
#include <assert.h>
#include <assert.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "shout"
#define DEFAULT_CONN_TIMEOUT 2
#define DEFAULT_CONN_TIMEOUT 2
struct
shout_buffer
{
unsigned
char
data
[
32768
];
size_t
len
;
};
struct
shout_data
{
struct
audio_output
*
audio_output
;
shout_t
*
shout_conn
;
shout_metadata_t
*
shout_meta
;
struct
encoder
*
encoder
;
float
quality
;
int
bitrate
;
int
timeout
;
struct
shout_buffer
buf
;
};
static
int
shout_init_count
;
static
int
shout_init_count
;
static
const
struct
encoder_plugin
*
static
const
struct
encoder_plugin
*
...
...
src/output/shout_plugin.h
deleted
100644 → 0
View file @
1c56edd1
/* the Music Player Daemon (MPD)
* Copyright (C) 2003-2007 by Warren Dukes (warren.dukes@gmail.com)
* This project's homepage is: 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_SHOUT_PLUGIN_H
#define MPD_SHOUT_PLUGIN_H
#include "../output_api.h"
#include "../conf.h"
#include <shout/shout.h>
#include <glib.h>
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "shout"
struct
shout_buffer
{
unsigned
char
data
[
32768
];
size_t
len
;
};
struct
shout_data
{
struct
audio_output
*
audio_output
;
shout_t
*
shout_conn
;
shout_metadata_t
*
shout_meta
;
struct
encoder
*
encoder
;
float
quality
;
int
bitrate
;
int
timeout
;
struct
shout_buffer
buf
;
};
#endif
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