mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
fix: mute audio on yWeb start
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@408 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -746,12 +746,9 @@ void CControlAPI::VolumeCGI(CyhookHandler *hh)
|
|||||||
NeutrinoAPI->Zapit->muteAudio(false);
|
NeutrinoAPI->Zapit->muteAudio(false);
|
||||||
hh->SendOk();
|
hh->SendOk();
|
||||||
}
|
}
|
||||||
#if 0 //FIXME
|
|
||||||
|
|
||||||
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?
|
hh->Write("1"); //FIXME coolstream implemented?
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
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() );
|
||||||
NeutrinoAPI->Zapit->setVolume(vol,vol);
|
NeutrinoAPI->Zapit->setVolume(vol,vol);
|
||||||
|
Reference in New Issue
Block a user