waveout.c File Reference

Include dependency graph for waveout.c:


Data Structures

struct  notification_thread_t
struct  aout_sys_t

Defines

#define FRAME_SIZE   4096
#define DEVICE_TEXT   N_("Select Audio Device")
#define DEVICE_LONG
#define DEFAULT_AUDIO_DEVICE   N_("Default Audio Device")
#define waveformat   p_aout->output.p_sys->waveformat
#define waveout_warn(msg)

Functions

static int Open (vlc_object_t *)
 Probes and initializes.
static void Close (vlc_object_t *)
 Releases resources.
static void Play (aout_instance_t *)
static void Probe (aout_instance_t *)
static int OpenWaveOut (aout_instance_t *, uint32_t, int, int, int, int, bool)
static int OpenWaveOutPCM (aout_instance_t *, uint32_t, vlc_fourcc_t *, int, int, int, bool)
static int PlayWaveOut (aout_instance_t *, HWAVEOUT, WAVEHDR *, aout_buffer_t *, bool)
static void CALLBACK WaveOutCallback (HWAVEOUT, UINT, DWORD, DWORD, DWORD)
static void * WaveOutThread (vlc_object_t *)
static int VolumeGet (aout_instance_t *, audio_volume_t *)
static int VolumeSet (aout_instance_t *, audio_volume_t)
static int WaveOutClearDoneBuffers (aout_sys_t *p_sys)
static int ReloadWaveoutDevices (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
static uint32_t findDeviceID (char *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)

Variables

static const char psz_device_name_fmt [] = "%s ($%x,$%x)"
static const char *const ppsz_adev [] = { "wavemapper", }
static const char *const ppsz_adev_text [] = { N_("Microsoft Soundmapper") }

Define Documentation

#define DEFAULT_AUDIO_DEVICE   N_("Default Audio Device")

#define DEVICE_LONG

Value:

N_("Select special Audio device, or let windows "\
                       "decide (default), change needs VLC restart "\
                       "to apply.")

#define DEVICE_TEXT   N_("Select Audio Device")

#define FRAME_SIZE   4096

#define waveformat   p_aout->output.p_sys->waveformat

Referenced by CreateDSBuffer(), and OpenWaveOut().

#define waveout_warn ( msg   ) 

Value:

msg_Warn( p_aout, "aout_OutputNextBuffer no buffer "\
                           "got next_date=%d ms, "\
                           "%d frames to play, "\
                           "starving? %d, %s",(int)(next_date/(mtime_t)1000), \
                           i_queued_frames, \
                           p_aout->output.b_starving, msg);

Referenced by WaveOutThread().


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 uint32_t findDeviceID ( char *  psz_device_name  )  [static]

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 int OpenWaveOut ( aout_instance_t p_aout,
uint32_t  i_device_id,
int  i_format,
int  i_channels,
int  i_nb_channels,
int  i_rate,
bool  b_probe 
) [static]

static int OpenWaveOutPCM ( aout_instance_t p_aout,
uint32_t  i_device_id,
vlc_fourcc_t i_format,
int  i_channels,
int  i_nb_channels,
int  i_rate,
bool  b_probe 
) [static]

static void Play ( aout_instance_t _p_aout  )  [static]

static int PlayWaveOut ( aout_instance_t p_aout,
HWAVEOUT  h_waveout,
WAVEHDR *  p_waveheader,
aout_buffer_t p_buffer,
bool  b_spdif 
) [static]

static void Probe ( aout_instance_t p_aout  )  [static]

static int ReloadWaveoutDevices ( vlc_object_t p_this,
char const *  psz_name,
vlc_value_t  newval,
vlc_value_t  oldval,
void *  data 
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 

static int VolumeGet ( aout_instance_t p_aout,
audio_volume_t pi_volume 
) [static]

Referenced by handle_player().

static int VolumeSet ( aout_instance_t p_aout,
audio_volume_t  i_volume 
) [static]

Referenced by handle_player().

static void CALLBACK WaveOutCallback ( HWAVEOUT  h_waveout,
UINT  uMsg,
DWORD  _p_aout,
DWORD  dwParam1,
DWORD  dwParam2 
) [static]

static int WaveOutClearDoneBuffers ( aout_sys_t p_sys  )  [static]

static void * WaveOutThread ( vlc_object_t p_this  )  [static]

References i, and waveout_warn.


Variable Documentation

const char* const ppsz_adev[] = { "wavemapper", } [static]

const char* const ppsz_adev_text[] = { N_("Microsoft Soundmapper") } [static]

const char psz_device_name_fmt[] = "%s ($%x,$%x)" [static]

Referenced by ReloadWaveoutDevices().


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