Mercurial > mplayer.hg
view libmpdemux/mpdemux.c @ 4927:3022570ad7d4
Extrastereo plugin: increases linearly the difference between left and right
channels (as the XMMS extrastereo plugin) which has some of "live" effect (use
it to hear what I mean)
ex: mplayer media.avi -aop list=extrastereo[:mul=3.4]
The default coefficient (mul) is a float number that defaults to 2.5. If you
set it to 0.0, you will have a mono sound (average of both channels), if you
set it to 1.0, you will have unchanged sound.
A patch for DOCS/sound.html is about to be sent to Gabucino.
author | pl |
---|---|
date | Sun, 03 Mar 2002 14:17:53 +0000 |
parents | 76491c4cb611 |
children | 8162d2f591f9 |
line wrap: on
line source
#include "config.h" #include <stdlib.h> #ifdef HAVE_NEW_INPUT #include "../input/input.h" int mpdemux_check_interrupt(int time) { mp_cmd_t* cmd; if((cmd = mp_input_get_cmd(time,0)) == NULL) return 0; switch(cmd->id) { case MP_CMD_QUIT: case MP_CMD_PLAY_TREE_STEP: case MP_CMD_PLAY_TREE_UP_STEP: case MP_CMD_PLAY_ALT_SRC_STEP: // The cmd will be executed when we are back in the main loop if(! mp_input_queue_cmd(cmd)) { printf("mpdemux_check_interrupt: can't queue cmd %s\n",cmd->name); mp_cmd_free(cmd); } return 1; default: mp_cmd_free(cmd); return 0; } } #else // Default function int mpdemux_check_interrupt(int time){ usec_sleep(time*1000); return 0; } #endif