Quantcast
Viewing all articles
Browse latest Browse all 1691

PLay current service without audio

Hi i'm trying how to play the current service without audio , i found out that there is this method in the backend , this method called whenever i change the audio or the language

 

but the eDVBAudio class is not imported to enigma.py so i can call it in the frontend

void eDVBAudio::stop()
{
	if (m_fd >= 0)
	{
		eDebugNoNewLineStart("[eDVBAudio%d] AUDIO_STOP ", m_dev);
		if (::ioctl(m_fd, AUDIO_STOP) < 0)
			eDebugNoNewLine("failed: %m\n");
		else
			eDebugNoNewLine("ok\n");
	}
	if (m_fd_demux >= 0)
	{
		eDebugNoNewLineStart("[eDVBAudio%d] DEMUX_STOP ", m_dev);
		if (::ioctl(m_fd_demux, DMX_STOP) < 0)
			eDebugNoNewLine("failed: %m\n");
		else
			eDebugNoNewLine("ok\n");
	}
}

i want to know how this event is called how enigma knows when the audio change , back to my question now can i play the current service without audio ?

 

Thanks

 


Viewing all articles
Browse latest Browse all 1691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>