git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
sound
/
core
/
pcm_misc.c
diff --git
a/sound/core/pcm_misc.c
b/sound/core/pcm_misc.c
index
0019c59
..
593c77f
100644
(file)
--- a/
sound/core/pcm_misc.c
+++ b/
sound/core/pcm_misc.c
@@
-207,8
+207,6
@@
int snd_pcm_format_signed(snd_pcm_format_t format)
return val;
}
return val;
}
-EXPORT_SYMBOL(snd_pcm_format_signed);
-
/**
* snd_pcm_format_unsigned - Check the PCM format is unsigned linear
* @format: the format to check
/**
* snd_pcm_format_unsigned - Check the PCM format is unsigned linear
* @format: the format to check
@@
-226,8
+224,6
@@
int snd_pcm_format_unsigned(snd_pcm_format_t format)
return !val;
}
return !val;
}
-EXPORT_SYMBOL(snd_pcm_format_unsigned);
-
/**
* snd_pcm_format_linear - Check the PCM format is linear
* @format: the format to check
/**
* snd_pcm_format_linear - Check the PCM format is linear
* @format: the format to check
@@
-239,8
+235,6
@@
int snd_pcm_format_linear(snd_pcm_format_t format)
return snd_pcm_format_signed(format) >= 0;
}
return snd_pcm_format_signed(format) >= 0;
}
-EXPORT_SYMBOL(snd_pcm_format_linear);
-
/**
* snd_pcm_format_little_endian - Check the PCM format is little-endian
* @format: the format to check
/**
* snd_pcm_format_little_endian - Check the PCM format is little-endian
* @format: the format to check
@@
-258,8
+252,6
@@
int snd_pcm_format_little_endian(snd_pcm_format_t format)
return val;
}
return val;
}
-EXPORT_SYMBOL(snd_pcm_format_little_endian);
-
/**
* snd_pcm_format_big_endian - Check the PCM format is big-endian
* @format: the format to check
/**
* snd_pcm_format_big_endian - Check the PCM format is big-endian
* @format: the format to check
@@
-277,8
+269,6
@@
int snd_pcm_format_big_endian(snd_pcm_format_t format)
return !val;
}
return !val;
}
-EXPORT_SYMBOL(snd_pcm_format_big_endian);
-
/**
* snd_pcm_format_width - return the bit-width of the format
* @format: the format to check
/**
* snd_pcm_format_width - return the bit-width of the format
* @format: the format to check
@@
-296,8
+286,6
@@
int snd_pcm_format_width(snd_pcm_format_t format)
return val;
}
return val;
}
-EXPORT_SYMBOL(snd_pcm_format_width);
-
/**
* snd_pcm_format_physical_width - return the physical bit-width of the format
* @format: the format to check
/**
* snd_pcm_format_physical_width - return the physical bit-width of the format
* @format: the format to check
@@
-315,8
+303,6
@@
int snd_pcm_format_physical_width(snd_pcm_format_t format)
return val;
}
return val;
}
-EXPORT_SYMBOL(snd_pcm_format_physical_width);
-
/**
* snd_pcm_format_size - return the byte size of samples on the given format
* @format: the format to check
/**
* snd_pcm_format_size - return the byte size of samples on the given format
* @format: the format to check
@@
-332,8
+318,6
@@
ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples)
return samples * phys_width / 8;
}
return samples * phys_width / 8;
}
-EXPORT_SYMBOL(snd_pcm_format_size);
-
/**
* snd_pcm_format_silence_64 - return the silent data in 8 bytes array
* @format: the format to check
/**
* snd_pcm_format_silence_64 - return the silent data in 8 bytes array
* @format: the format to check
@@
-349,8
+333,6
@@
const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format)
return pcm_formats[format].silence;
}
return pcm_formats[format].silence;
}
-EXPORT_SYMBOL(snd_pcm_format_silence_64);
-
/**
* snd_pcm_format_set_silence - set the silence data on the buffer
* @format: the PCM format
/**
* snd_pcm_format_set_silence - set the silence data on the buffer
* @format: the PCM format
@@
-420,8
+402,6
@@
int snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int
return 0;
}
return 0;
}
-EXPORT_SYMBOL(snd_pcm_format_set_silence);
-
/* [width][unsigned][bigendian] */
static int linear_formats[4][2][2] = {
{{ SNDRV_PCM_FORMAT_S8, SNDRV_PCM_FORMAT_S8},
/* [width][unsigned][bigendian] */
static int linear_formats[4][2][2] = {
{{ SNDRV_PCM_FORMAT_S8, SNDRV_PCM_FORMAT_S8},
@@
-452,8
+432,6
@@
snd_pcm_format_t snd_pcm_build_linear_format(int width, int unsignd, int big_end
return linear_formats[width][!!unsignd][!!big_endian];
}
return linear_formats[width][!!unsignd][!!big_endian];
}
-EXPORT_SYMBOL(snd_pcm_build_linear_format);
-
/**
* snd_pcm_limit_hw_rates - determine rate_min/rate_max fields
* @runtime: the runtime instance
/**
* snd_pcm_limit_hw_rates - determine rate_min/rate_max fields
* @runtime: the runtime instance
@@
-485,5
+463,3
@@
int snd_pcm_limit_hw_rates(struct snd_pcm_runtime *runtime)
}
return 0;
}
}
return 0;
}
-
-EXPORT_SYMBOL(snd_pcm_limit_hw_rates);