Lines Matching defs:map
39 * A channel map consists of an array of \ref pa_channel_position values,
47 * \li pa_channel_map_init_mono() - Create a channel map with only mono audio.
49 * \li pa_channel_map_init_auto() - Create a standard channel map for a specific
52 * synthesize a channel map if no predefined
61 * \li pa_channel_map_valid() - Tests if a channel map is valid.
64 * map.
248 /**< The default channel map */
261 /** A channel map which can be used to attach labels to specific
268 pa_channel_position_t map[PA_CHANNELS_MAX];
272 /** Initialize the specified channel map and return a pointer to
273 * it. The channel map will have a defined state but
277 /** Initialize the specified channel map for monaural audio and return a pointer to it */
280 /** Initialize the specified channel map for stereophonic audio and return a pointer to it */
283 /** Initialize the specified channel map for the specified number of
285 * will fail (return NULL) if there is no default channel map known for this
311 /** Make a human readable string from the specified channel map. Returns \a s. */
312 char* pa_channel_map_snprint(char *s, size_t l, const pa_channel_map *map);
315 * channel map structure. This turns the output of
318 pa_channel_map *pa_channel_map_parse(pa_channel_map *map, const char *s);
323 /** Return non-zero if the specified channel map is considered valid */
324 int pa_channel_map_valid(const pa_channel_map *map) PA_GCC_PURE;
326 /** Return non-zero if the specified channel map is compatible with
328 int pa_channel_map_compatible(const pa_channel_map *map, const pa_sample_spec *ss) PA_GCC_PURE;
336 int pa_channel_map_can_balance(const pa_channel_map *map) PA_GCC_PURE;
341 int pa_channel_map_can_fade(const pa_channel_map *map) PA_GCC_PURE;
346 int pa_channel_map_can_lfe_balance(const pa_channel_map *map) PA_GCC_PURE;
352 const char* pa_channel_map_to_name(const pa_channel_map *map) PA_GCC_PURE;
357 const char* pa_channel_map_to_pretty_name(const pa_channel_map *map) PA_GCC_PURE;
360 * least once in the channel map. \since 0.9.16 */
361 int pa_channel_map_has_position(const pa_channel_map *map, pa_channel_position_t p) PA_GCC_PURE;
363 /** Generates a bit mask from a channel map. \since 0.9.16 */
364 pa_channel_position_mask_t pa_channel_map_mask(const pa_channel_map *map) PA_GCC_PURE;