~ubuntu-branches/ubuntu/oneiric/pulseaudio/oneiric

« back to all changes in this revision

Viewing changes to src/pulsecore/protocol-simple.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2007-12-04 00:56:08 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20071204005608-y1xqvcu45g1yxtlu
Tags: 0.9.8-1ubuntu1
"Hail our new PulseAudio overlords (part two)."

* Merge from Debian unstable.
* Ubuntu-specific changes:
  - debian/control:
    + Don't build-depend on libjack0.100.0-dev or build jack module
      packages,
    + Update pulseaudio's Recommends and Suggests to accomodate
      existing promoted main packages,
    + Explicitly mention pasuspender in pulseaudio-utils's long
      description,
    + Add Vcs-Bzr URI,
    + Adhere to DebianMaintainerField;
  - debian/rules: Use multiuser for update-rc.d;
  - debian/patches/series: Retain the exclusion of
    0001-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with.patch.
* Dropped Ubuntu-specific change (absorbed into Debian source):
  debian/patches/0002-Double-esound-maximum-sample-size.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: protocol-simple.c 1971 2007-10-28 19:13:50Z lennart $ */
 
1
/* $Id: protocol-simple.c 2050 2007-11-13 17:37:44Z lennart $ */
2
2
 
3
3
/***
4
4
  This file is part of PulseAudio.
566
566
 
567
567
pa_protocol_simple* pa_protocol_simple_new(pa_core *core, pa_socket_server *server, pa_module *m, pa_modargs *ma) {
568
568
    pa_protocol_simple* p = NULL;
569
 
    int enable;
 
569
    pa_bool_t enable;
570
570
 
571
571
    pa_assert(core);
572
572
    pa_assert(server);
587
587
    p->source_name = pa_xstrdup(pa_modargs_get_value(ma, "source", NULL));
588
588
    p->sink_name = pa_xstrdup(pa_modargs_get_value(ma, "sink", NULL));
589
589
 
590
 
    enable = 0;
 
590
    enable = FALSE;
591
591
    if (pa_modargs_get_value_boolean(ma, "record", &enable) < 0) {
592
592
        pa_log("record= expects a numeric argument.");
593
593
        goto fail;