mirror of
https://github.com/mpv-player/mpv
synced 2025-02-24 00:46:58 +00:00
control() done
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5482 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0e69d0c69d
commit
f331f54b26
@ -89,9 +89,12 @@ static void uninit(sh_audio_t *sh_audio)
|
||||
{
|
||||
}
|
||||
|
||||
static int control(sh_audio_t *sh,int cmd,void* arg, ...)
|
||||
static int control(sh_audio_t *sh_audio,int cmd,void* arg, ...)
|
||||
{
|
||||
// TODO!
|
||||
if(cmd==ADCTRL_SKIP_FRAME){
|
||||
demux_read_data(sh_audio->ds, sh_audio->a_in_buffer,sh_audio->ds->ss_mul);
|
||||
return CONTROL_TRUE;
|
||||
}
|
||||
return CONTROL_UNKNOWN;
|
||||
}
|
||||
|
||||
|
@ -44,9 +44,13 @@ static void uninit(sh_audio_t *sh_audio)
|
||||
{
|
||||
}
|
||||
|
||||
static int control(sh_audio_t *sh,int cmd,void* arg, ...)
|
||||
static int control(sh_audio_t *sh_audio,int cmd,void* arg, ...)
|
||||
{
|
||||
// TODO!
|
||||
if(cmd==ADCTRL_SKIP_FRAME){
|
||||
demux_read_data(sh_audio->ds, sh_audio->a_in_buffer,sh_audio->wf->nBlockAlign);
|
||||
return CONTROL_TRUE;
|
||||
}
|
||||
return CONTROL_UNKNOWN;
|
||||
}
|
||||
|
||||
|
@ -118,9 +118,12 @@ static void uninit(sh_audio_t *sh_audio)
|
||||
{
|
||||
}
|
||||
|
||||
static int control(sh_audio_t *sh,int cmd,void* arg, ...)
|
||||
static int control(sh_audio_t *sh_audio,int cmd,void* arg, ...)
|
||||
{
|
||||
// TODO!!!
|
||||
if(cmd==ADCTRL_SKIP_FRAME){
|
||||
demux_read_data(sh_audio->ds, sh_audio->a_in_buffer,sh_audio->ds->ss_mul);
|
||||
return CONTROL_TRUE;
|
||||
}
|
||||
return CONTROL_UNKNOWN;
|
||||
}
|
||||
|
||||
|
@ -85,9 +85,12 @@ static void uninit(sh_audio_t *sh_audio)
|
||||
{
|
||||
}
|
||||
|
||||
static int control(sh_audio_t *sh,int cmd,void* arg, ...)
|
||||
static int control(sh_audio_t *sh_audio,int cmd,void* arg, ...)
|
||||
{
|
||||
// TODO!!!
|
||||
if(cmd==ADCTRL_SKIP_FRAME){
|
||||
demux_read_data(sh_audio->ds, sh_audio->a_in_buffer,sh_audio->ds->ss_mul);
|
||||
return CONTROL_TRUE;
|
||||
}
|
||||
return CONTROL_UNKNOWN;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user