diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-10-30 22:40:53 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-10-30 22:40:53 +0000 |
commit | fe9eb37f05b677071f9de1b9e69c535aa2293d0b (patch) | |
tree | 54cbc02374f1fb4a466b360040a6b8a0a00d5674 /src/xine-engine/audio_out.h | |
parent | deb61082227d4de4694578cdb96c156483c3cbac (diff) | |
download | xine-lib-fe9eb37f05b677071f9de1b9e69c535aa2293d0b.tar.gz xine-lib-fe9eb37f05b677071f9de1b9e69c535aa2293d0b.tar.bz2 |
* modify the engine slightly, so that the stream member in a video frame or
audio buffer can be NULL; this should be used to indicate that the frame/
buffer does not come directly from a stream, but was generated otherwise
(the most important result is that frames/buffers with stream NULL will not
be passed through metronom)
* modify visualization post plugins so they set the stream on the generated
frames to NULL, this avoids cluttering metronom, when playing a stream with
audio AND video AND a visualization post
* this also means modifying the way post plugins provide vpts values:
they have to calculate them themselves for now
CVS patchset: 5647
CVS date: 2003/10/30 22:40:53
Diffstat (limited to 'src/xine-engine/audio_out.h')
-rw-r--r-- | src/xine-engine/audio_out.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xine-engine/audio_out.h b/src/xine-engine/audio_out.h index e7aba704e..e23f0d07b 100644 --- a/src/xine-engine/audio_out.h +++ b/src/xine-engine/audio_out.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_out.h,v 1.58 2003/09/01 04:08:41 jcdutton Exp $ + * $Id: audio_out.h,v 1.59 2003/10/30 22:40:53 mroi Exp $ */ #ifndef HAVE_AUDIO_OUT_H #define HAVE_AUDIO_OUT_H @@ -197,14 +197,13 @@ struct xine_audio_port_s { /* * get a piece of memory for audio data */ - audio_buffer_t * (*get_buffer) (xine_audio_port_t *); /* * append a buffer filled with audio data to the audio fifo * for output */ - + /* when the frame does not originate from a stream, it is legal to pass a NULL stream */ void (*put_buffer) (xine_audio_port_t *, audio_buffer_t *buf, xine_stream_t *stream); /* audio driver is no longer used by decoder => close */ |