~ubuntu-branches/ubuntu/natty/alsa-lib/natty

« back to all changes in this revision

Viewing changes to src/control/control.c

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2010-05-19 11:04:50 UTC
  • mfrom: (1.1.14 upstream) (2.2.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100519110450-79ixzqrupz0ylqjb
Tags: 1.0.23-0ubuntu1
* New upstream release
  - debian/patches/:
    + Dont_leak_timer_fd_on_pcm_slave_close.patch
    + Fix-S24_3LE-softvol-distortion.patc
    + Fix-modem-on-hook.patch
    + Fix-stream-state-updates.patch
    + Fix-pcm-timer-open-subdevice-pcm_hw.patch
    + b9dbee6-Fix-threading-drain.patch
      - Dropped
    + Fix-str-lit-no-format.patch
    + lp433573-Support-Echo3G.patch
      - retained, need to be sent upstream
* Merge from debian unstable, remaining changes:
  - debian/rules:
    + Don't bail when removing include/alsa
  - debian/control: Add Vcs-Bzr URI
  - Add configuration files for bluetooth/bluez-alsa and pulseaudio
  - debian/libasound2.install: Ship smixer plugins for native and bi-arch
    packages
  - drop libcxxtools-dev build dependency, its in universe
  - add --with-plugindir=\$${prefix}/lib/alsa-lib to configure-stamp
  - Demote libc6-i386 pre-depends to depends for lib32asound2

Show diffs side-by-side

added added

removed removed

Lines of Context:
2249
2249
}
2250
2250
 
2251
2251
/**
 
2252
 * \brief compare one #snd_ctl_elem_value_t to another
 
2253
 * \param dst pointer to destination
 
2254
 * \param src pointer to source
 
2255
 * \return 0 on match, less than or greater than otherwise, see memcmp
 
2256
 */
 
2257
int snd_ctl_elem_value_compare(snd_ctl_elem_value_t *left, const snd_ctl_elem_value_t *right)
 
2258
{
 
2259
        assert(left && right);
 
2260
        return memcmp(left, right, sizeof(*left));
 
2261
}
 
2262
 
 
2263
/**
2252
2264
 * \brief Get CTL element identifier of a CTL element id/value
2253
2265
 * \param obj CTL element id/value
2254
2266
 * \param ptr Pointer to returned CTL element identifier