protected void setBitsPerSample (int intBPS) {
// I assume there's only a single value provided, and that it's an integer.
// MIX allows for a different value for each component.
try {
BitsPerSample bps = new BitsPerSample ();
bps.setBitsPerSampleUnit ("integer");
bps.addBitsPerSampleValue(intBPS);
ice.setBitsPerSample (bps);
}
catch (XmlContentException e) {
}
}