~ubuntu-branches/ubuntu/hardy/alsa-plugins/hardy-proposed

« back to all changes in this revision

Viewing changes to pulse/pcm_pulse.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2007-06-12 19:03:08 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070612190308-yhyjw8t4wk7zhte0
Tags: 1.0.14-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - debian/control:
    + Don't build-depend on JACK, as it's in universe.  Clarify and
      update the Description to note the above restriction and
      {in,ex}clusion of newer plugins (LP: #57089),
    + Adhere to DebianMaintainerField.

Show diffs side-by-side

added added

removed removed

Lines of Context:
643
643
    if (err < 0)
644
644
        return err;
645
645
 
646
 
    err = snd_pcm_ioplug_set_param_minmax(io, SND_PCM_IOPLUG_HW_RATE,
647
 
        8000, 48000);
648
 
    if (err < 0)
649
 
        return err;
650
 
 
651
 
    err = snd_pcm_ioplug_set_param_minmax(io, SND_PCM_IOPLUG_HW_PERIOD_BYTES,
652
 
        1, 4294967295U);
653
 
    if (err < 0)
654
 
        return err;
655
 
 
656
 
    err = snd_pcm_ioplug_set_param_minmax(io, SND_PCM_IOPLUG_HW_PERIODS,
657
 
        2, 4294967295U);
658
 
    if (err < 0)
659
 
        return err;
660
 
 
661
646
    err = snd_pcm_ioplug_set_param_minmax(io, SND_PCM_IOPLUG_HW_BUFFER_BYTES,
662
 
        1, 4294967295U);
 
647
        1, 4 * 1024 * 1024);
663
648
    if (err < 0)
664
649
        return err;
665
650