diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2006-10-28 09:51:10 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2006-10-28 09:51:10 +0000 |
commit | 394ebd352c19b1735cf697a86ccefcdbdac76fbe (patch) | |
tree | e60a9abb0d3822b76a54f47f2cbc943bceeb2eea /sys/dev | |
parent | 9251ddbfe793b8a20a6d9f8e7e819812a3f6fdc5 (diff) | |
download | src-394ebd352c19b1735cf697a86ccefcdbdac76fbe.tar.gz src-394ebd352c19b1735cf697a86ccefcdbdac76fbe.zip |
MFP4:
Rename MAX_SAMPLE_RATES macro to OSS_MAX_SAMPLE_RATES. The old
macro clashed with those used in other applications and libaries
(ex: RtAudio). 4Front responded by updating their spec, so we
will follow suit.
Submitted by: ryanb
Noticed by: pointyhat/kris
Notes
Notes:
svn path=/head/; revision=163731
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sound/pcm/dsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c index 979f0ed7950a..56f50a7cdfc4 100644 --- a/sys/dev/sound/pcm/dsp.c +++ b/sys/dev/sound/pcm/dsp.c @@ -1809,8 +1809,8 @@ dspfound: ai->max_channels = maxch; ai->nrates = chn_getrates(ch, &rates); - if (ai->nrates > MAX_SAMPLE_RATES) - ai->nrates = MAX_SAMPLE_RATES; + if (ai->nrates > OSS_MAX_SAMPLE_RATES) + ai->nrates = OSS_MAX_SAMPLE_RATES; for (i = 0; i < ai->nrates; i++) ai->rates[i] = rates[i]; |