expose generic player_queue_make function

This commit is contained in:
chme 2015-05-01 10:54:58 +02:00
parent 3832692929
commit fb92040d4b
2 changed files with 6 additions and 1 deletions

View File

@ -759,7 +759,7 @@ metadata_check_icy(void)
/* Audio sources */
/* Thread: httpd (DACP) */
static struct player_source *
struct player_source *
player_queue_make(struct query_params *qp)
{
struct db_media_file_info dbmfi;

View File

@ -4,6 +4,8 @@
#include <stdint.h>
#include "db.h"
/* AirTunes v2 packet interval in ns */
/* (352 samples/packet * 1e9 ns/s) / 44100 samples/s = 7981859 ns/packet */
# define AIRTUNES_V2_STREAM_PERIOD 7981859
@ -182,6 +184,9 @@ player_repeat_set(enum repeat_mode mode);
int
player_shuffle_set(int enable);
struct player_source *
player_queue_make(struct query_params *qp);
int
player_queue_make_daap(struct player_source **head, const char *query, const char *queuefilter, const char *sort, int quirk);