waveout.c File Reference

Include dependency graph for waveout.c:


Data Structures

struct  WAVEFORMATEXTENSIBLE
struct  notification_thread_t
struct  aout_sys_t

Defines

#define FRAME_SIZE   4096
#define FRAMES_NUM   8
#define WAVE_FORMAT_IEEE_FLOAT   0x0003
#define WAVE_FORMAT_DOLBY_AC3_SPDIF   0x0092
#define WAVE_FORMAT_EXTENSIBLE   0xFFFE
#define SPEAKER_FRONT_LEFT   0x1
#define SPEAKER_FRONT_RIGHT   0x2
#define SPEAKER_FRONT_CENTER   0x4
#define SPEAKER_LOW_FREQUENCY   0x8
#define SPEAKER_BACK_LEFT   0x10
#define SPEAKER_BACK_RIGHT   0x20
#define SPEAKER_FRONT_LEFT_OF_CENTER   0x40
#define SPEAKER_FRONT_RIGHT_OF_CENTER   0x80
#define SPEAKER_BACK_CENTER   0x100
#define SPEAKER_SIDE_LEFT   0x200
#define SPEAKER_SIDE_RIGHT   0x400
#define SPEAKER_TOP_CENTER   0x800
#define SPEAKER_TOP_FRONT_LEFT   0x1000
#define SPEAKER_TOP_FRONT_CENTER   0x2000
#define SPEAKER_TOP_FRONT_RIGHT   0x4000
#define SPEAKER_TOP_BACK_LEFT   0x8000
#define SPEAKER_TOP_BACK_CENTER   0x10000
#define SPEAKER_TOP_BACK_RIGHT   0x20000
#define SPEAKER_RESERVED   0x80000000
#define FLOAT_TEXT   N_("Use float32 output")
#define FLOAT_LONGTEXT
#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)

Typedefs

typedef struct WAVEFORMATEXTENSIBLEPWAVEFORMATEXTENSIBLE

Functions

static int Open (vlc_object_t *)
static void Close (vlc_object_t *)
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, int *, 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 VolumeInfos (aout_instance_t *, audio_volume_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 GUID __KSDATAFORMAT_SUBTYPE_IEEE_FLOAT = { 0x0003 , 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}}
static const GUID __KSDATAFORMAT_SUBTYPE_PCM = {WAVE_FORMAT_PCM, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}}
static const GUID __KSDATAFORMAT_SUBTYPE_DOLBY_AC3_SPDIF = { 0x0092 , 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}}
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") }
static const uint32_t pi_channels_src []
static const uint32_t pi_channels_in []
static const uint32_t pi_channels_out []

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 FLOAT_LONGTEXT

Value:

N_( \
    "The option allows you to enable or disable the high-quality float32 " \
    "audio output mode (which is not well supported by some soundcards)." )

#define FLOAT_TEXT   N_("Use float32 output")

#define FRAME_SIZE   4096

#define FRAMES_NUM   8

#define SPEAKER_BACK_CENTER   0x100

#define SPEAKER_BACK_LEFT   0x10

#define SPEAKER_BACK_RIGHT   0x20

#define SPEAKER_FRONT_CENTER   0x4

#define SPEAKER_FRONT_LEFT   0x1

#define SPEAKER_FRONT_LEFT_OF_CENTER   0x40

#define SPEAKER_FRONT_RIGHT   0x2

#define SPEAKER_FRONT_RIGHT_OF_CENTER   0x80

#define SPEAKER_LOW_FREQUENCY   0x8

#define SPEAKER_RESERVED   0x80000000

#define SPEAKER_SIDE_LEFT   0x200

#define SPEAKER_SIDE_RIGHT   0x400

#define SPEAKER_TOP_BACK_CENTER   0x10000

#define SPEAKER_TOP_BACK_LEFT   0x8000

#define SPEAKER_TOP_BACK_RIGHT   0x20000

#define SPEAKER_TOP_CENTER   0x800

#define SPEAKER_TOP_FRONT_CENTER   0x2000

#define SPEAKER_TOP_FRONT_LEFT   0x1000

#define SPEAKER_TOP_FRONT_RIGHT   0x4000

#define WAVE_FORMAT_DOLBY_AC3_SPDIF   0x0092

#define WAVE_FORMAT_EXTENSIBLE   0xFFFE

#define WAVE_FORMAT_IEEE_FLOAT   0x0003

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

#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);


Typedef Documentation

typedef struct WAVEFORMATEXTENSIBLE * PWAVEFORMATEXTENSIBLE


Function Documentation

static void Close ( vlc_object_t  )  [static]

static uint32_t findDeviceID ( char *   )  [static]

static int Open ( vlc_object_t  )  [static]

static int OpenWaveOut ( aout_instance_t ,
uint32_t  ,
int  ,
int  ,
int  ,
int  ,
bool   
) [static]

static int OpenWaveOutPCM ( aout_instance_t ,
uint32_t  ,
int *  ,
int  ,
int  ,
int  ,
bool   
) [static]

static void Play ( aout_instance_t  )  [static]

static int PlayWaveOut ( aout_instance_t ,
HWAVEOUT  ,
WAVEHDR *  ,
aout_buffer_t ,
bool   
) [static]

static void Probe ( aout_instance_t  )  [static]

static int ReloadWaveoutDevices ( vlc_object_t ,
char const *  ,
vlc_value_t  ,
vlc_value_t  ,
void *   
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 

static int VolumeGet ( aout_instance_t ,
audio_volume_t  
) [static]

static int VolumeInfos ( aout_instance_t ,
audio_volume_t  
) [static]

static int VolumeSet ( aout_instance_t ,
audio_volume_t   
) [static]

static void CALLBACK WaveOutCallback ( HWAVEOUT  ,
UINT  ,
DWORD  ,
DWORD  ,
DWORD   
) [static]

static int WaveOutClearDoneBuffers ( aout_sys_t p_sys  )  [static]

static void * WaveOutThread ( vlc_object_t  )  [static]


Variable Documentation

const GUID __KSDATAFORMAT_SUBTYPE_DOLBY_AC3_SPDIF = { 0x0092 , 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}} [static]

const GUID __KSDATAFORMAT_SUBTYPE_IEEE_FLOAT = { 0x0003 , 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}} [static]

const GUID __KSDATAFORMAT_SUBTYPE_PCM = {WAVE_FORMAT_PCM, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}} [static]

const uint32_t pi_channels_in[] [static]

Initial value:

    {  0x1 ,  0x2 ,
       0x200 ,  0x400 ,
       0x10 ,  0x20 ,
       0x4 ,  0x8 , 0 }

const uint32_t pi_channels_out[] [static]

Initial value:

    {  0x1 ,  0x2 ,
       0x4 ,  0x8 ,
       0x10 ,  0x20 ,
       0x200 ,  0x400 , 0 }

const uint32_t pi_channels_src[] [static]

Initial value:

    {  0x2 ,  0x4 ,
       0x100 ,  0x200 ,
       0x20 ,  0x40 ,
       0x1 ,  0x1000 , 0 }

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]


Generated on Wed Aug 13 08:03:10 2008 for VLC by  doxygen 1.5.1