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 *)
 Probes and initializes.
static void Close (vlc_object_t *)
 Releases resources.
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 p_this  )  [static]

Releases resources.

Close the module.

Destroys the X11 window.

Disconnect from the X server.

Close a SDL video output.

It destroys an OpenGL vout display.

Terminate a vout display created by Open.

It destroyes a Direct3D vout display.

Terminate an output method created by Open.

Release the drawable.

Close a libcaca video output.

Close a aa video output method.

Close the filter.

Terminate a splitter module.

This function closes a clone video splitter module.

Common close function.

Releases allocate resources.

Close: Destructor.

Parameters:
p_this pointer to this filter object
p_this,: the filter object

static int Open ( vlc_object_t p_this  )  [static]

Probes and initializes.

Basic chorus/flanger/delay audio filter This implements a variable delay filter for VLC.

Todo:

  • Improve CDDB support (non-blocking, cache, .

Open the module.

Create an X11 window.

Probe the X server.

This function initializes SDL vout method.

It creates an OpenGL vout display.

This function allocates and initialize the DirectX vout display.

It creates a Direct3D vout display.

This function allocates and initializes a FB vout method.

Find the drawable set by libvlc application.

This function initializes libcaca vout method.

This function allocates and initializes a aa vout method.

This function allocates and initializes a Wall splitter module.

Open the filter.

This function allocates and initializes a Clone splitter module.

Open: initialize and create stuff.

Connect to the sftp server and ask for a file.

Parameters:
p_this,: the vlc_object
Returns:
VLC_SUCCESS if everything was fine
Parameters:
p_this 
p_this,: the filter object
Returns:
VLC_SUCCESS or vlc error codes

Todo:
Reinstate meta codec name

static void Play ( aout_instance_t p_aout  )  [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) '3' ) << 8 )   | ( ((uint32_t) '2' ) << 16 ) | ( ((uint32_t) 'l' ) << 24 ) )  ,
                                   ( ((uint32_t) 's' ) | ( ((uint32_t) 'p' ) << 8 )   | ( ((uint32_t) 'd' ) << 16 ) | ( ((uint32_t) 'i' ) << 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 
}

Referenced by DecoderMetadataCallback(), DecodeRtpSpeexPacket(), DecOpen(), GetPortDefinition(), OpenDecoder(), ProcessHeaders(), ProcessInitialHeader(), transcode_audio_add(), and transcode_audio_filter_chain_build().


Generated on Tue May 25 08:05:33 2010 for VLC by  doxygen 1.5.6