~ubuntu-branches/ubuntu/karmic/alsa-lib/karmic-updates

« back to all changes in this revision

Viewing changes to src/pcm/pcm_misc.c

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-05-04 15:22:15 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 47.
  • Revision ID: james.westby@ubuntu.com-20090504152215-icqrms36zk1113lc
Tags: upstream-1.0.19
ImportĀ upstreamĀ versionĀ 1.0.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
623
623
        return 0;
624
624
}
625
625
 
626
 
static int linear_formats[4][2][2] = {
 
626
static const int linear_formats[4][2][2] = {
627
627
        { { SNDRV_PCM_FORMAT_S8, SNDRV_PCM_FORMAT_S8 },
628
628
          { SNDRV_PCM_FORMAT_U8, SNDRV_PCM_FORMAT_U8 } },
629
629
        { { SNDRV_PCM_FORMAT_S16_LE, SNDRV_PCM_FORMAT_S16_BE },
634
634
          { SNDRV_PCM_FORMAT_U32_LE, SNDRV_PCM_FORMAT_U32_BE } }
635
635
};
636
636
 
637
 
static int linear24_formats[3][2][2] = {
 
637
static const int linear24_formats[3][2][2] = {
638
638
        { { SNDRV_PCM_FORMAT_S24_3LE, SNDRV_PCM_FORMAT_S24_3BE },
639
639
          { SNDRV_PCM_FORMAT_U24_3LE, SNDRV_PCM_FORMAT_U24_3BE } },
640
640
        { { SNDRV_PCM_FORMAT_S20_3LE, SNDRV_PCM_FORMAT_S20_3BE },