FreeRDP
tsmf_pulse.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <winpr/crt.h>
#include <pulse/pulseaudio.h>
#include "tsmf_audio.h"

Functions

static void tsmf_pulse_context_state_callback (pa_context *context, void *userdata)
 
static BOOL tsmf_pulse_connect (TSMFPulseAudioDevice *pulse)
 
static BOOL tsmf_pulse_open (ITSMFAudioDevice *audio, const char *device)
 
static void tsmf_pulse_stream_success_callback (pa_stream *stream, int success, void *userdata)
 
static void tsmf_pulse_wait_for_operation (TSMFPulseAudioDevice *pulse, pa_operation *operation)
 
static void tsmf_pulse_stream_state_callback (pa_stream *stream, void *userdata)
 
static void tsmf_pulse_stream_request_callback (pa_stream *stream, size_t length, void *userdata)
 
static BOOL tsmf_pulse_close_stream (TSMFPulseAudioDevice *pulse)
 
static BOOL tsmf_pulse_open_stream (TSMFPulseAudioDevice *pulse)
 
static BOOL tsmf_pulse_set_format (ITSMFAudioDevice *audio, UINT32 sample_rate, UINT32 channels, UINT32 bits_per_sample)
 
static BOOL tsmf_pulse_play (ITSMFAudioDevice *audio, const BYTE *data, UINT32 data_size)
 
static UINT64 tsmf_pulse_get_latency (ITSMFAudioDevice *audio)
 
static BOOL tsmf_pulse_flush (ITSMFAudioDevice *audio)
 
static void tsmf_pulse_free (ITSMFAudioDevice *audio)
 
FREERDP_API ITSMFAudioDevice * freerdp_tsmf_client_audio_subsystem_entry (void)
 

Function Documentation

FREERDP_API ITSMFAudioDevice* freerdp_tsmf_client_audio_subsystem_entry ( void  )

Here is the call graph for this function:

static BOOL tsmf_pulse_close_stream ( TSMFPulseAudioDevice *  pulse)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL tsmf_pulse_connect ( TSMFPulseAudioDevice *  pulse)
static

Here is the caller graph for this function:

static void tsmf_pulse_context_state_callback ( pa_context *  context,
void userdata 
)
static

Here is the caller graph for this function:

static BOOL tsmf_pulse_flush ( ITSMFAudioDevice *  audio)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void tsmf_pulse_free ( ITSMFAudioDevice *  audio)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT64 tsmf_pulse_get_latency ( ITSMFAudioDevice *  audio)
static

Here is the caller graph for this function:

static BOOL tsmf_pulse_open ( ITSMFAudioDevice *  audio,
const char *  device 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL tsmf_pulse_open_stream ( TSMFPulseAudioDevice *  pulse)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL tsmf_pulse_play ( ITSMFAudioDevice *  audio,
const BYTE data,
UINT32  data_size 
)
static

Here is the caller graph for this function:

static BOOL tsmf_pulse_set_format ( ITSMFAudioDevice *  audio,
UINT32  sample_rate,
UINT32  channels,
UINT32  bits_per_sample 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void tsmf_pulse_stream_request_callback ( pa_stream *  stream,
size_t  length,
void userdata 
)
static

Here is the caller graph for this function:

static void tsmf_pulse_stream_state_callback ( pa_stream *  stream,
void userdata 
)
static

Here is the caller graph for this function:

static void tsmf_pulse_stream_success_callback ( pa_stream *  stream,
int  success,
void userdata 
)
static

Here is the caller graph for this function:

static void tsmf_pulse_wait_for_operation ( TSMFPulseAudioDevice *  pulse,
pa_operation *  operation 
)
static

Here is the caller graph for this function: