mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
spark: implement cAudio::SetSyncMode
Origin commit data
------------------
Branch: master
Commit: c9ff86fd77
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -136,18 +136,8 @@ bool cAudio::Pause(bool /*Pcm*/)
|
||||
|
||||
void cAudio::SetSyncMode(AVSYNC_TYPE Mode)
|
||||
{
|
||||
lt_debug("%s %d\n", __FUNCTION__, Mode);
|
||||
#if 0
|
||||
switch (Mode)
|
||||
{
|
||||
case 0:
|
||||
ioctl(fd, MPEG_AUD_SYNC_OFF);
|
||||
break;
|
||||
default:
|
||||
ioctl(fd, MPEG_AUD_SYNC_ON);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
lt_debug("%s %d\n", __func__, Mode);
|
||||
ioctl(fd, AUDIO_SET_AV_SYNC, Mode);
|
||||
};
|
||||
|
||||
//AUDIO_ENCODING_AC3
|
||||
|
Reference in New Issue
Block a user