Switch to unified view

a/upmpd/upmpd.hxx b/upmpd/upmpd.hxx
...
...
25
class UpMpd : public UpnpDevice {
25
class UpMpd : public UpnpDevice {
26
public:
26
public:
27
    friend class UpMpdRenderCtl;
27
    friend class UpMpdRenderCtl;
28
    friend class UpMpdAVTransport;
28
    friend class UpMpdAVTransport;
29
    friend class OHInfo;
29
    friend class OHInfo;
30
    friend class OHPlaylist;
30
31
31
    enum Options {
32
    enum Options {
32
        upmpdNone,
33
        upmpdNone,
33
        // If set, the MPD queue belongs to us, we shall clear
34
        // If set, the MPD queue belongs to us, we shall clear
34
        // it as we like.
35
        // it as we like.
...
...
48
49
49
    int m_options;
50
    int m_options;
50
    vector<UpnpService*> m_services;
51
    vector<UpnpService*> m_services;
51
};
52
};
52
53
54
55
// "http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,"
56
// "http-get:*:audio/L16:DLNA.ORG_PN=LPCM,"
57
// "http-get:*:audio/x-flac:DLNA.ORG_PN=FLAC"
58
static const string 
59
upmpdProtocolInfo(
60
    "http-get:*:audio/wav:*,"
61
    "http-get:*:audio/wave:*,"
62
    "http-get:*:audio/x-wav:*,"
63
    "http-get:*:audio/x-aiff:*,"
64
    "http-get:*:audio/mpeg:*,"
65
    "http-get:*:audio/x-mpeg:*,"
66
    "http-get:*:audio/mp1:*,"
67
    "http-get:*:audio/aac:*,"
68
    "http-get:*:audio/flac:*,"
69
    "http-get:*:audio/x-flac:*,"
70
    "http-get:*:audio/m4a:*,"
71
    "http-get:*:audio/mp4:*,"
72
    "http-get:*:audio/x-m4a:*,"
73
    "http-get:*:audio/vorbis:*,"
74
    "http-get:*:audio/ogg:*,"
75
    "http-get:*:audio/x-ogg:*,"
76
    "http-get:*:audio/x-scpls:*,"
77
    "http-get:*:audio/L16;rate=11025;channels=1:*,"
78
    "http-get:*:audio/L16;rate=22050;channels=1:*,"
79
    "http-get:*:audio/L16;rate=44100;channels=1:*,"
80
    "http-get:*:audio/L16;rate=48000;channels=1:*,"
81
    "http-get:*:audio/L16;rate=88200;channels=1:*,"
82
    "http-get:*:audio/L16;rate=96000;channels=1:*,"
83
    "http-get:*:audio/L16;rate=176400;channels=1:*,"
84
    "http-get:*:audio/L16;rate=192000;channels=1:*,"
85
    "http-get:*:audio/L16;rate=11025;channels=2:*,"
86
    "http-get:*:audio/L16;rate=22050;channels=2:*,"
87
    "http-get:*:audio/L16;rate=44100;channels=2:*,"
88
    "http-get:*:audio/L16;rate=48000;channels=2:*,"
89
    "http-get:*:audio/L16;rate=88200;channels=2:*,"
90
    "http-get:*:audio/L16;rate=96000;channels=2:*,"
91
    "http-get:*:audio/L16;rate=176400;channels=2:*,"
92
    "http-get:*:audio/L16;rate=192000;channels=2:*"
93
    );
94
53
#endif /* _UPMPD_H_X_INCLUDED_ */
95
#endif /* _UPMPD_H_X_INCLUDED_ */