diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-12-12 22:58:53 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-12-12 22:58:53 +0000 |
commit | e02be6c15beddec976220bce2ee1a68520286c01 (patch) | |
tree | da9cfdfd7a254fa7e8e21b1ef29456b852dbc133 /polyp/module-esound-sink.c | |
parent | 9a01cf44f09e92e14a720f4f531e943a50f26b72 (diff) |
* fix include file names in installed header files
* add browsing API
* add new tool pabrowse
* add typeid subsystem
* bump API version
* split off random.c
* add an identification cookie
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@320 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/module-esound-sink.c')
-rw-r--r-- | polyp/module-esound-sink.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/polyp/module-esound-sink.c b/polyp/module-esound-sink.c index 2cc61440..82c38cc2 100644 --- a/polyp/module-esound-sink.c +++ b/polyp/module-esound-sink.c @@ -52,6 +52,8 @@ PA_MODULE_USAGE("sink_name=<name for the sink> server=<address> cookie=<filename #define DEFAULT_SINK_NAME "esound_output" +#define PA_TYPEID_ESOUND_SINK PA_TYPEID_MAKE('E', 'S', 'D', 'S') + struct userdata { struct pa_core *core; @@ -352,7 +354,7 @@ int pa__init(struct pa_core *c, struct pa_module*m) { u->state = STATE_AUTH; u->latency = 0; - if (!(u->sink = pa_sink_new(c, pa_modargs_get_value(ma, "sink_name", DEFAULT_SINK_NAME), 0, &ss))) { + if (!(u->sink = pa_sink_new(c, PA_TYPEID_ESOUND_SINK, pa_modargs_get_value(ma, "sink_name", DEFAULT_SINK_NAME), 0, &ss))) { pa_log(__FILE__": failed to create sink.\n"); goto fail; } |