|
a/src/upmpdutils.cxx |
|
b/src/upmpdutils.cxx |
|
... |
|
... |
186 |
ss << " bitrate=\"" << SoapHelp::i2s(bitrate) << "\"";
|
186 |
ss << " bitrate=\"" << SoapHelp::i2s(bitrate) << "\"";
|
187 |
}
|
187 |
}
|
188 |
if (samplefreq) {
|
188 |
if (samplefreq) {
|
189 |
ss << " sampleFrequency=\"" << SoapHelp::i2s(samplefreq) << "\"";
|
189 |
ss << " sampleFrequency=\"" << SoapHelp::i2s(samplefreq) << "\"";
|
190 |
}
|
190 |
}
|
|
|
191 |
if (bitsPerSample) {
|
|
|
192 |
ss << " bitsPerSample=\"" << SoapHelp::i2s(bitsPerSample) << "\"";
|
|
|
193 |
}
|
191 |
if (channels) {
|
194 |
if (channels) {
|
192 |
ss << " nrAudioChannels=\"" << SoapHelp::i2s(channels) << "\"";
|
195 |
ss << " nrAudioChannels=\"" << SoapHelp::i2s(channels) << "\"";
|
193 |
}
|
196 |
}
|
194 |
if (!mime.empty()) {
|
197 |
if (!mime.empty()) {
|
195 |
ss << " protocolInfo=\"http-get:*:" << mime << ":* " << "\"";
|
198 |
ss << " protocolInfo=\"http-get:*:" << mime << ":* " << "\"";
|