mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
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
Origin commit data
------------------
Branch: ni/coolstream
Commit: fd6d98d1f7
Author: yjogol <yjogol2@online.de>
Date: 2010-03-01 (Mon, 01 Mar 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -747,7 +747,7 @@ void CControlAPI::VolumeCGI(CyhookHandler *hh)
|
||||
hh->SendOk();
|
||||
}
|
||||
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
|
||||
char vol = atol( hh->ParamList["1"].c_str() );
|
||||
|
Reference in New Issue
Block a user