yweb: can now determine status of audio mute (ybug 448)

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@440 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
yjogol
2010-03-01 06:27:20 +00:00
parent 23dabb17a2
commit fd6d98d1f7

View File

@@ -747,7 +747,7 @@ void CControlAPI::VolumeCGI(CyhookHandler *hh)
hh->SendOk(); hh->SendOk();
} }
else if (hh->ParamList["1"].compare("status") == 0) { // Mute status else if (hh->ParamList["1"].compare("status") == 0) { // Mute status
hh->Write("1"); //FIXME coolstream implemented? (NeutrinoAPI->Zapit->getMuteStatus()) ? hh->Write("1") : hh->Write("0");
} }
else if(hh->ParamList["1"]!="") { //set volume else if(hh->ParamList["1"]!="") { //set volume
char vol = atol( hh->ParamList["1"].c_str() ); char vol = atol( hh->ParamList["1"].c_str() );