mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
libtriple: implement cAudio::SetSyncMode()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2df67d32f4
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-04-03 (Sun, 03 Apr 2011)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -131,9 +131,18 @@ bool cAudio::Pause(bool /*Pcm*/)
|
|||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
||||||
void cAudio::SetSyncMode(AVSYNC_TYPE /*Mode*/)
|
void cAudio::SetSyncMode(AVSYNC_TYPE Mode)
|
||||||
{
|
{
|
||||||
lt_debug("%s\n", __FUNCTION__);
|
lt_debug("%s %d\n", __FUNCTION__, Mode);
|
||||||
|
switch (Mode)
|
||||||
|
{
|
||||||
|
case 0:
|
||||||
|
ioctl(fd, MPEG_AUD_SYNC_OFF);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
ioctl(fd, MPEG_AUD_SYNC_ON);
|
||||||
|
break;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
void cAudio::SetStreamType(AUDIO_FORMAT type)
|
void cAudio::SetStreamType(AUDIO_FORMAT type)
|
||||||
|
Reference in New Issue
Block a user