FreeRDP
audio.c File Reference
#include <freerdp/config.h>
#include <winpr/crt.h>
#include <freerdp/log.h>
#include <freerdp/codec/audio.h>

Macros

#define TAG   FREERDP_TAG("codec")
 

Functions

UINT32 audio_format_compute_time_length (const AUDIO_FORMAT *format, size_t size)
 
char * audio_format_get_tag_string (UINT16 wFormatTag)
 
void audio_format_print (wLog *log, DWORD level, const AUDIO_FORMAT *format)
 
void audio_formats_print (wLog *log, DWORD level, const AUDIO_FORMAT *formats, UINT16 count)
 
BOOL audio_format_read (wStream *s, AUDIO_FORMAT *format)
 
BOOL audio_format_write (wStream *s, const AUDIO_FORMAT *format)
 
BOOL audio_format_copy (const AUDIO_FORMAT *srcFormat, AUDIO_FORMAT *dstFormat)
 
BOOL audio_format_compatible (const AUDIO_FORMAT *with, const AUDIO_FORMAT *what)
 
static BOOL audio_format_valid (const AUDIO_FORMAT *format)
 
AUDIO_FORMATaudio_format_new (void)
 
AUDIO_FORMATaudio_formats_new (size_t count)
 
void audio_format_free (AUDIO_FORMAT *format)
 
void audio_formats_free (AUDIO_FORMAT *formats, size_t count)
 

Macro Definition Documentation

◆ TAG

#define TAG   FREERDP_TAG("codec")

FreeRDP: A Remote Desktop Protocol Implementation Audio Formats

Copyright 2013 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ audio_format_compatible()

BOOL audio_format_compatible ( const AUDIO_FORMAT with,
const AUDIO_FORMAT what 
)
Here is the caller graph for this function:

◆ audio_format_compute_time_length()

UINT32 audio_format_compute_time_length ( const AUDIO_FORMAT format,
size_t  size 
)

Audio Format Functions

◆ audio_format_copy()

BOOL audio_format_copy ( const AUDIO_FORMAT srcFormat,
AUDIO_FORMAT dstFormat 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ audio_format_free()

void audio_format_free ( AUDIO_FORMAT format)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ audio_format_get_tag_string()

char* audio_format_get_tag_string ( UINT16  wFormatTag)
Here is the caller graph for this function:

◆ audio_format_new()

AUDIO_FORMAT* audio_format_new ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ audio_format_print()

void audio_format_print ( wLog *  log,
DWORD  level,
const AUDIO_FORMAT format 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ audio_format_read()

BOOL audio_format_read ( wStream s,
AUDIO_FORMAT format 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ audio_format_valid()

static BOOL audio_format_valid ( const AUDIO_FORMAT format)
static

◆ audio_format_write()

BOOL audio_format_write ( wStream s,
const AUDIO_FORMAT format 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ audio_formats_free()

void audio_formats_free ( AUDIO_FORMAT formats,
size_t  count 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ audio_formats_new()

AUDIO_FORMAT* audio_formats_new ( size_t  count)
Here is the caller graph for this function:

◆ audio_formats_print()

void audio_formats_print ( wLog *  log,
DWORD  level,
const AUDIO_FORMAT formats,
UINT16  count 
)
Here is the call graph for this function: