Home
last modified time | relevance | path

Searched refs:sampleSizeInBytes (Results 1 – 25 of 76) sorted by relevance

1234

/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/bsd/native/libjsound/
H A DPLATFORM_API_BsdOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
H A DPLATFORM_API_BsdOS_ALSA_PCM.c90 int getBitIndex(int sampleSizeInBytes, int significantBits) { in getBitIndex() argument
92 if (sampleSizeInBytes == 4 && significantBits == 24) return 5; in getBitIndex()
93 if (sampleSizeInBytes == 3) { in getBitIndex()
97 if (sampleSizeInBytes == 2 && significantBits == 16) return 2; in getBitIndex()
98 if (sampleSizeInBytes == 1 && significantBits == 8) return 1; in getBitIndex()
102 int getSampleSizeInBytes(int bitIndex, int sampleSizeInBytes) { in getSampleSizeInBytes() argument
110 return sampleSizeInBytes; in getSampleSizeInBytes()
132 int sampleSizeInBytes, significantBits, isSigned, isBigEndian, enc; in DAUDIO_GetFormats() local
211 sampleSizeInBytes * minChannels, in DAUDIO_GetFormats()
215 sampleSizeInBytes * maxChannels, in DAUDIO_GetFormats()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/linux/native/libjsound/
H A DPLATFORM_API_LinuxOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
H A DPLATFORM_API_LinuxOS_ALSA_PCM.c86 int getBitIndex(int sampleSizeInBytes, int significantBits) { in getBitIndex() argument
88 if (sampleSizeInBytes == 4 && significantBits == 24) return 5; in getBitIndex()
89 if (sampleSizeInBytes == 3) { in getBitIndex()
93 if (sampleSizeInBytes == 2 && significantBits == 16) return 2; in getBitIndex()
94 if (sampleSizeInBytes == 1 && significantBits == 8) return 1; in getBitIndex()
98 int getSampleSizeInBytes(int bitIndex, int sampleSizeInBytes) { in getSampleSizeInBytes() argument
106 return sampleSizeInBytes; in getSampleSizeInBytes()
128 int sampleSizeInBytes, significantBits, isSigned, isBigEndian, enc; in DAUDIO_GetFormats() local
207 sampleSizeInBytes * minChannels, in DAUDIO_GetFormats()
211 sampleSizeInBytes * maxChannels, in DAUDIO_GetFormats()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/bsd/native/libjsound/
H A DPLATFORM_API_BsdOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
H A DPLATFORM_API_BsdOS_ALSA_PCM.c90 int getBitIndex(int sampleSizeInBytes, int significantBits) { in getBitIndex() argument
92 if (sampleSizeInBytes == 4 && significantBits == 24) return 5; in getBitIndex()
93 if (sampleSizeInBytes == 3) { in getBitIndex()
97 if (sampleSizeInBytes == 2 && significantBits == 16) return 2; in getBitIndex()
98 if (sampleSizeInBytes == 1 && significantBits == 8) return 1; in getBitIndex()
102 int getSampleSizeInBytes(int bitIndex, int sampleSizeInBytes) { in getSampleSizeInBytes() argument
110 return sampleSizeInBytes; in getSampleSizeInBytes()
132 int sampleSizeInBytes, significantBits, isSigned, isBigEndian, enc; in DAUDIO_GetFormats() local
211 sampleSizeInBytes * minChannels, in DAUDIO_GetFormats()
215 sampleSizeInBytes * maxChannels, in DAUDIO_GetFormats()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/linux/native/libjsound/
H A DPLATFORM_API_LinuxOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
H A DPLATFORM_API_LinuxOS_ALSA_PCM.c86 int getBitIndex(int sampleSizeInBytes, int significantBits) { in getBitIndex() argument
88 if (sampleSizeInBytes == 4 && significantBits == 24) return 5; in getBitIndex()
89 if (sampleSizeInBytes == 3) { in getBitIndex()
93 if (sampleSizeInBytes == 2 && significantBits == 16) return 2; in getBitIndex()
94 if (sampleSizeInBytes == 1 && significantBits == 8) return 1; in getBitIndex()
98 int getSampleSizeInBytes(int bitIndex, int sampleSizeInBytes) { in getSampleSizeInBytes() argument
106 return sampleSizeInBytes; in getSampleSizeInBytes()
128 int sampleSizeInBytes, significantBits, isSigned, isBigEndian, enc; in DAUDIO_GetFormats() local
207 sampleSizeInBytes * minChannels, in DAUDIO_GetFormats()
211 sampleSizeInBytes * maxChannels, in DAUDIO_GetFormats()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/linux/native/libjsound/
H A DPLATFORM_API_LinuxOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
H A DPLATFORM_API_LinuxOS_ALSA_PCM.c86 int getBitIndex(int sampleSizeInBytes, int significantBits) { in getBitIndex() argument
88 if (sampleSizeInBytes == 4 && significantBits == 24) return 5; in getBitIndex()
89 if (sampleSizeInBytes == 3) { in getBitIndex()
93 if (sampleSizeInBytes == 2 && significantBits == 16) return 2; in getBitIndex()
94 if (sampleSizeInBytes == 1 && significantBits == 8) return 1; in getBitIndex()
98 int getSampleSizeInBytes(int bitIndex, int sampleSizeInBytes) { in getSampleSizeInBytes() argument
106 return sampleSizeInBytes; in getSampleSizeInBytes()
128 int sampleSizeInBytes, significantBits, isSigned, isBigEndian, enc; in DAUDIO_GetFormats() local
207 sampleSizeInBytes * minChannels, in DAUDIO_GetFormats()
211 sampleSizeInBytes * maxChannels, in DAUDIO_GetFormats()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/bsd/native/libjsound/
H A DPLATFORM_API_BsdOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_LinuxOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
H A DPLATFORM_API_BsdOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/bsd/native/libjsound/
H A DPLATFORM_API_BsdOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/linux/native/libjsound/
H A DPLATFORM_API_LinuxOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/bsd/native/libjsound/
H A DPLATFORM_API_BsdOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/bsd/native/libjsound/
H A DPLATFORM_API_BsdOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/linux/native/libjsound/
H A DPLATFORM_API_LinuxOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/linux/native/libjsound/
H A DPLATFORM_API_LinuxOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/bsd/native/libjsound/
H A DPLATFORM_API_BsdOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/linux/native/libjsound/
H A DPLATFORM_API_LinuxOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/bsd/native/libjsound/
H A DPLATFORM_API_BsdOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/linux/native/libjsound/
H A DPLATFORM_API_LinuxOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_BsdOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()
H A DPLATFORM_API_LinuxOS_ALSA_PCMUtils.c244 int* sampleSizeInBytes, int* significantBits, in getFormatFromAlsaFormat() argument
247 *sampleSizeInBytes = (snd_pcm_format_physical_width(alsaFormat) + 7) / 8; in getFormatFromAlsaFormat()
257 *sampleSizeInBytes = 8; *enc = 1; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
260 *sampleSizeInBytes = 8; *enc = 2; *significantBits = *sampleSizeInBytes; in getFormatFromAlsaFormat()
265 return (*sampleSizeInBytes > 0); in getFormatFromAlsaFormat()
270 int sampleSizeInBytes, int significantBits, in getAlsaFormatFromFormat() argument
276 sampleSizeInBytes * 8, in getAlsaFormatFromFormat()
280 else if ((sampleSizeInBytes == 1) && (significantBits == 8)) { in getAlsaFormatFromFormat()

1234