]> git.sesse.net Git - vlc/blobdiff - include/audio_output.h
* Fixed the BeOS compile typo.
[vlc] / include / audio_output.h
index 996114e2575a3ae1c9c81a39dd29dd3ca53a0046..a8f1d15ecae9dd05f99ca059e3e0bf8bb81dbea7 100644 (file)
@@ -2,7 +2,7 @@
  * audio_output.h : audio output thread interface
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: audio_output.h,v 1.34 2001/05/06 04:32:02 sam Exp $
+ * $Id: audio_output.h,v 1.37 2001/05/30 17:03:11 sam Exp $
  *
  * Authors: Michel Kaempf <maxx@via.ecp.fr>
  *
@@ -26,7 +26,7 @@
  *****************************************************************************
  * This global variable is accessed by any function using the audio output.
  *****************************************************************************/
-typedef struct
+typedef struct aout_bank_s
 {
     /* Array to all the audio outputs */
     struct aout_thread_s *pp_aout[ AOUT_MAX_THREADS ];
@@ -188,13 +188,18 @@ typedef struct aout_thread_s
 #define AOUT_FMT_U16_BE      0x00000100                    /* Big endian U16 */
 #define AOUT_FMT_AC3         0x00000400                 /* Dolby Digital AC3 */
 
-
 #ifdef WORDS_BIGENDIAN
 #define AOUT_FMT_S16_NE      AOUT_FMT_S16_BE
 #else
 #define AOUT_FMT_S16_NE      AOUT_FMT_S16_LE
 #endif
 
+/* Number of samples in an AC3 frame */
+#define AC3_FRAME_SIZE      1536
+
+/* Size of a frame for spdif output */
+#define SPDIF_FRAME_SIZE    6144
+
 /*****************************************************************************
  * Prototypes
  *****************************************************************************/