Changeset 3419:9e791c7ba5c3 in roaraudio for libroarpulse


Ignore:
Timestamp:
02/11/10 20:01:03 (10 years ago)
Author:
phi
Branch:
default
Message:

prototypes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarpulse/channelmap.c

    r3418 r3419  
    3939#include <libroarpulse/libroarpulse.h> 
    4040 
     41/** Initialize the specified channel map and return a pointer to it */ 
     42pa_channel_map* pa_channel_map_init(pa_channel_map *m); 
     43 
     44/** Initialize the specified channel map for monoaural audio and return a pointer to it */ 
     45pa_channel_map* pa_channel_map_init_mono(pa_channel_map *m); 
     46 
     47/** Initialize the specified channel map for stereophonic audio and return a pointer to it */ 
     48pa_channel_map* pa_channel_map_init_stereo(pa_channel_map *m); 
     49 
     50/** Initialize the specified channel map for the specified number 
     51 * of channels using default labels and return a pointer to it. */ 
     52pa_channel_map* pa_channel_map_init_auto(pa_channel_map *m, unsigned channels, pa_channel_map_def_t def); 
     53 
     54/** Return a text label for the specified channel position */ 
     55const char* pa_channel_position_to_string(pa_channel_position_t pos); 
     56 
     57/** The maximum length of strings returned by pa_channel_map_snprint() */ 
     58#define PA_CHANNEL_MAP_SNPRINT_MAX 336 
     59 
     60/** Make a humand readable string from the specified channel map */ 
     61char* pa_channel_map_snprint(char *s, size_t l, const pa_channel_map *map); 
     62 
     63/** Parse a channel position list into a channel map structure. \since 0.8.1 */ 
     64pa_channel_map *pa_channel_map_parse(pa_channel_map *map, const char *s); 
     65 
     66/** Compare two channel maps. Return 1 if both match. */ 
     67int pa_channel_map_equal(const pa_channel_map *a, const pa_channel_map *b); 
     68 
     69/** Return non-zero of the specified channel map is considered valid */ 
     70int pa_channel_map_valid(const pa_channel_map *map); 
     71 
    4172//ll 
Note: See TracChangeset for help on using the changeset viewer.