mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
rename hashset to hashmap
add module arguments parse in modargs.c make module-pipe-sink use it git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@61 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
ccfd55420e
commit
a96ed347a3
10 changed files with 350 additions and 76 deletions
18
src/modargs.h
Normal file
18
src/modargs.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#ifndef foomodargshfoo
|
||||
#define foomodargshfoo
|
||||
|
||||
#include <inttypes.h>
|
||||
#include "sample.h"
|
||||
|
||||
struct pa_modargs;
|
||||
|
||||
struct pa_modargs *pa_modargs_new(const char *args, const char* const* keys);
|
||||
void pa_modargs_free(struct pa_modargs*ma);
|
||||
|
||||
const char *pa_modargs_get_value(struct pa_modargs *ma, const char *key, const char *def);
|
||||
int pa_modargs_get_value_u32(struct pa_modargs *ma, const char *key, uint32_t *value);
|
||||
|
||||
int pa_modargs_get_sample_spec(struct pa_modargs *ma, struct pa_sample_spec *ss);
|
||||
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue