file.c File Reference

Include dependency graph for file.c:


Data Structures

struct  aout_sys_t

Defines

#define FRAME_SIZE   2048
#define A52_FRAME_NB   1536
#define CHANNELS_MAX   6
#define FORMAT_TEXT   N_("Output format")
#define FORMAT_LONGTEXT
#define CHANNELS_TEXT   N_("Number of output channels")
#define CHANNELS_LONGTEXT
#define WAV_TEXT   N_("Add WAVE header")
#define WAV_LONGTEXT
#define FILE_TEXT   N_("Output file")
#define FILE_LONGTEXT   N_("File to which the audio samples will be written to. (\"-\" for stdout")

Functions

static int Open (vlc_object_t *)
static void Close (vlc_object_t *)
static void Play (aout_instance_t *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)

Variables

static const int pi_channels_maps [6+1]
static const char *const format_list []
static const int format_int []

Define Documentation

#define A52_FRAME_NB   1536

#define CHANNELS_LONGTEXT

Value:

N_("By default, all the channels of the incoming " \
    "will be saved but you can restrict the number of channels here.")

#define CHANNELS_MAX   6

#define CHANNELS_TEXT   N_("Number of output channels")

#define FILE_LONGTEXT   N_("File to which the audio samples will be written to. (\"-\" for stdout")

#define FILE_TEXT   N_("Output file")

#define FORMAT_LONGTEXT

Value:

N_("One of \"u8\", \"s8\", \"u16\", \"s16\", " \
    "\"u16_le\", \"s16_le\", \"u16_be\", \"s16_be\", \"fixed32\", " \
    "\"float32\" or \"spdif\"")

#define FORMAT_TEXT   N_("Output format")

#define FRAME_SIZE   2048

#define WAV_LONGTEXT

Value:

N_("Instead of writing a raw file, you can add a WAV " \
                        "header to the file.")

#define WAV_TEXT   N_("Add WAVE header")


Function Documentation

static void Close ( vlc_object_t  )  [static]

static int Open ( vlc_object_t  )  [static]

static void Play ( aout_instance_t  )  [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

const int format_int[] [static]

Initial value:

 { ( ((uint32_t) 'u' ) | ( ((uint32_t) '8' ) << 8 )   | ( ((uint32_t) ' ' ) << 16 ) | ( ((uint32_t) ' ' ) << 24 ) ),
                                  ( ((uint32_t) 's' ) | ( ((uint32_t) '8' ) << 8 )   | ( ((uint32_t) ' ' ) << 16 ) | ( ((uint32_t) ' ' ) << 24 ) ),
                                   ( ((uint32_t) 'u' ) | ( ((uint32_t) '1' ) << 8 )   | ( ((uint32_t) '6' ) << 16 ) | ( ((uint32_t) 'l' ) << 24 ) ) ,  ( ((uint32_t) 's' ) | ( ((uint32_t) '1' ) << 8 )   | ( ((uint32_t) '6' ) << 16 ) | ( ((uint32_t) 'l' ) << 24 ) ) ,
                                  ( ((uint32_t) 'u' ) | ( ((uint32_t) '1' ) << 8 )   | ( ((uint32_t) '6' ) << 16 ) | ( ((uint32_t) 'l' ) << 24 ) ),
                                  ( ((uint32_t) 's' ) | ( ((uint32_t) '1' ) << 8 )   | ( ((uint32_t) '6' ) << 16 ) | ( ((uint32_t) 'l' ) << 24 ) ),
                                  ( ((uint32_t) 'u' ) | ( ((uint32_t) '1' ) << 8 )   | ( ((uint32_t) '6' ) << 16 ) | ( ((uint32_t) 'b' ) << 24 ) ),
                                  ( ((uint32_t) 's' ) | ( ((uint32_t) '1' ) << 8 )   | ( ((uint32_t) '6' ) << 16 ) | ( ((uint32_t) 'b' ) << 24 ) ),
                                  ( ((uint32_t) 'f' ) | ( ((uint32_t) 'i' ) << 8 )   | ( ((uint32_t) '3' ) << 16 ) | ( ((uint32_t) '2' ) << 24 ) ),
                                  ( ((uint32_t) 'f' ) | ( ((uint32_t) 'l' ) << 8 )   | ( ((uint32_t) '3' ) << 16 ) | ( ((uint32_t) '2' ) << 24 ) ),
                                  ( ((uint32_t) 's' ) | ( ((uint32_t) 'p' ) << 8 )   | ( ((uint32_t) 'i' ) << 16 ) | ( ((uint32_t) 'f' ) << 24 ) ) }

const char* const format_list[] [static]

Initial value:

 { "u8", "s8", "u16", "s16", "u16_le",
                                     "s16_le", "u16_be", "s16_be", "fixed32",
                                     "float32", "spdif" }

const int pi_channels_maps[6+1] [static]

Initial value:

{
    0,
     0x1 ,
     0x2  |  0x4 ,
     0x1  |  0x2  |  0x4 ,
     0x2  |  0x4  |  0x20 
     |  0x40 ,
     0x2  |  0x4  |  0x1 
     |  0x20  |  0x40 ,
     0x2  |  0x4  |  0x1 
     |  0x20  |  0x40  |  0x1000 
}


Generated on Wed Aug 13 08:05:27 2008 for VLC by  doxygen 1.5.1