Searched refs:frameSize (Results 1 - 25 of 26) sorted by relevance

12

/openjdk7/jdk/src/share/classes/javax/sound/sampled/
H A DAudioInputStream.java82 protected int frameSize; field in class:AudioInputStream
131 this.frameSize = format.getFrameSize();
133 // any frameSize that is not well-defined will
135 if( this.frameSize == AudioSystem.NOT_SPECIFIED || frameSize <= 0) {
136 this.frameSize = 1;
157 frameSize = format.getFrameSize();
159 if( frameSize == AudioSystem.NOT_SPECIFIED || frameSize <= 0) {
160 frameSize
[all...]
H A DAudioFormat.java152 protected int frameSize; field in class:AudioFormat
178 * @param frameSize the number of bytes in each frame
185 int channels, int frameSize, float frameRate, boolean bigEndian) {
191 this.frameSize = frameSize;
208 * @param frameSize the number of bytes in each frame
220 int frameSize, float frameRate,
223 frameSize, frameRate, bigEndian);
349 return frameSize;
184 AudioFormat(Encoding encoding, float sampleRate, int sampleSizeInBits, int channels, int frameSize, float frameRate, boolean bigEndian) argument
218 AudioFormat(Encoding encoding, float sampleRate, int sampleSizeInBits, int channels, int frameSize, float frameRate, boolean bigEndian, Map<String, Object> properties) argument
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_BsdOS_ALSA_PCM.c255 int frameSize; // storage size in Bytes member in struct:tag_AlsaPcmInfo
419 int frameSize, int channels,
457 if (getAlsaFormatFromFormat(&format, frameSize / channels, sampleSizeInBits,
462 bufferSizeInBytes / frameSize,
464 info->frameSize = frameSize;
471 info->bufferSizeInBytes = (int) alsaBufferSizeInFrames * frameSize;
703 snd_pcm_sframes_t frameSize, writtenFrames; local
708 if (byteSize <= 0 || info->frameSize <= 0) {
709 ERROR2(" DAUDIO_Write: byteSize=%d, frameSize
417 DAUDIO_Open(INT32 mixerIndex, INT32 deviceID, int isSource, int encoding, float sampleRate, int sampleSizeInBits, int frameSize, int channels, int isSigned, int isBigEndian, int bufferSizeInBytes) argument
751 snd_pcm_sframes_t frameSize, readFrames; local
[all...]
H A DPLATFORM_API_LinuxOS_ALSA_PCM.c255 int frameSize; // storage size in Bytes member in struct:tag_AlsaPcmInfo
419 int frameSize, int channels,
457 if (getAlsaFormatFromFormat(&format, frameSize / channels, sampleSizeInBits,
462 bufferSizeInBytes / frameSize,
464 info->frameSize = frameSize;
471 info->bufferSizeInBytes = (int) alsaBufferSizeInFrames * frameSize;
703 snd_pcm_sframes_t frameSize, writtenFrames; local
708 if (byteSize <= 0 || info->frameSize <= 0) {
709 ERROR2(" DAUDIO_Write: byteSize=%d, frameSize
417 DAUDIO_Open(INT32 mixerIndex, INT32 deviceID, int isSource, int encoding, float sampleRate, int sampleSizeInBits, int frameSize, int channels, int isSigned, int isBigEndian, int bufferSizeInBytes) argument
751 snd_pcm_sframes_t frameSize, readFrames; local
[all...]
H A DPLATFORM_API_SolarisOS_PCM.c138 0, /* frameSize: let it be calculated */
160 int frameSize; /* storage size in Bytes */ member in struct:__anon951
173 int frameSize, int channels,
192 info->frameSize = frameSize;
370 devBytes = prinfo->samples * info->frameSize;
502 return (int) (prinfo->samples * info->frameSize);
171 DAUDIO_Open(INT32 mixerIndex, INT32 deviceID, int isSource, int encoding, float sampleRate, int sampleSizeInBits, int frameSize, int channels, int isSigned, int isBigEndian, int bufferSizeInBytes) argument
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DAuFileReader.java91 int frameSize = -1;
182 frameSize = calculatePCMFrameSize(sampleSizeInBits, channels);
188 length = dataSize / frameSize;
192 channels, frameSize, (float)frameRate, bigendian);
H A DAlawCodec.java324 frameSize = inputFormat.getFrameSize();
325 if( frameSize==AudioSystem.NOT_SPECIFIED ) {
326 frameSize=1;
361 if( len%frameSize != 0 ) {
362 len -= (len%frameSize);
H A DUlawCodec.java308 frameSize = inputFormat.getFrameSize();
309 if (frameSize == AudioSystem.NOT_SPECIFIED) {
310 frameSize = 1;
344 if( len%frameSize != 0 ) {
345 len -= (len%frameSize);
H A DPCMtoPCMCodec.java436 frameSize = inputFormat.getFrameSize();
437 if( frameSize == AudioSystem.NOT_SPECIFIED ) {
438 frameSize=1;
463 if( frameSize==1 ) {
496 if ( len%frameSize != 0 ) {
497 len -= (len%frameSize);
500 if( (frameLength!=AudioSystem.NOT_SPECIFIED) && ( (len/frameSize) >(frameLength-framePos)) ) {
501 len = (int)(frameLength-framePos) * frameSize;
H A DDirectAudioDevice.java734 +"frameSize = "+getFormat().getFrameSize()+" bytes)");
964 +"frameSize = "+getFormat().getFrameSize()+" bytes)");
1022 private int frameSize; // size of one frame in bytes field in class:DirectAudioDevice.DirectClip
1073 this.frameSize = format.getFrameSize();
1204 clipBytePosition = frames * frameSize;
1211 bytePosition = frames * frameSize;
1219 nSetBytePosition(id, isSource, frames * frameSize);
1299 // only if audioData wasn't set in a calling open(format, byte[], frameSize)
1371 clipBytePosition = newFramePosition * frameSize;
1378 long framePos = (clipBytePosition / frameSize);
1464 nOpen(int mixerIndex, int deviceID, boolean isSource, int encoding, float sampleRate, int sampleSizeInBits, int frameSize, int channels, boolean signed, boolean bigEndian, int bufferSize) argument
[all...]
H A DJavaSoundAudioClip.java308 int frameSize = loadedAudioFormat.getFrameSize();
312 && frameSize != AudioSystem.NOT_SPECIFIED
313 && frameSize > 0) {
314 byteLen = frameLen * frameSize;
H A DAiffFileReader.java319 int frameSize = calculatePCMFrameSize(sampleSizeInBits, channels);
326 frameSize, sampleRate, true);
H A DAuFileWriter.java153 int frameSize;
H A DAiffFileWriter.java168 int frameSize;
H A DWaveFileWriter.java179 int frameSize;
H A DDLSSoundbank.java934 int frameSize = audioformat.getFrameSize();
958 sampleSizeInBits, channels, frameSize, frameRate, bigEndian);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/
H A DStructureLoader.java96 private /*final*/ int frameSize; field in class:StructureLoader
136 this.frameSize = chain.getScopeSize();
179 context.startScope(frameSize);
263 state.getContext().endScope(frameSize);
H A DUnmarshallingContext.java961 * @param frameSize
964 public void startScope(int frameSize) { argument
965 scopeTop += frameSize;
983 * @param frameSize
987 public void endScope(int frameSize) throws SAXException { argument
989 for( ; frameSize>0; frameSize--, scopeTop-- )
996 for( ; frameSize>0; frameSize-- )
1005 * a number between [0,frameSize)
[all...]
/openjdk7/jdk/src/share/native/com/sun/media/sound/
H A DDirectAudio.h81 int frameSize, int channels,
H A DDirectAudioDevice.c51 int frameSize; member in struct:__anon638
337 if (info->frameSize <= 0) {
338 ERROR1("DirectAudiODevice: invalid framesize=%d\n", info->frameSize);
341 len /= info->frameSize;
344 TRACE3("channels=%d, sampleSizeInBits=%d, frameSize=%d, ",
345 (int) info->channels, (int) info->sampleSizeInBits, (int) info->frameSize);
456 TRACE4("AddAudioFormat with sigBits=%d bits, frameSize=%d bytes, channels=%d, sampleRate=%d ",
498 jint encoding, jfloat sampleRate, jint sampleSizeInBits, jint frameSize, jint channels,
510 (int) frameSize, (int) channels,
518 info->frameSize
496 Java_com_sun_media_sound_DirectAudioDevice_nOpen(JNIEnv* env, jclass clazz, jint mixerIndex, jint deviceID, jboolean isSource, jint encoding, jfloat sampleRate, jint sampleSizeInBits, jint frameSize, jint channels, jboolean isSigned, jboolean isBigendian, jint bufferSizeInBytes) argument
[all...]
/openjdk7/jdk/src/windows/native/com/sun/media/sound/
H A DPLATFORM_API_WinOS_DirectSound.cpp337 int frameSize; // storage size in Bytes member in struct:__anon1057
787 info->frameSize / channels * 8,
791 info->dsBufferSizeInBytes = 2 * ((int) sampleRate) * info->frameSize;
796 bufferSizeInBytes = (bufferSizeInBytes / info->frameSize) * info->frameSize;
839 int frameSize, int channels,
891 info->frameSize = frameSize;
1137 available = (available / info->frameSize) * info->frameSize;
837 DAUDIO_Open(INT32 mixerIndex, INT32 deviceID, int isSource, int encoding, float sampleRate, int sampleSizeInBits, int frameSize, int channels, int isSigned, int isBigEndian, int bufferSizeInBytes) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/ia64/
H A DIA64Frame.java281 public long frameSize() { method in class:IA64Frame
282 throw new RuntimeException("frameSize NYI");
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DFrame.java253 public abstract long frameSize(); method in class:Frame
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/x86/
H A DX86Frame.java418 public long frameSize() { method in class:X86Frame
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/sparc/
H A DSPARCFrame.java464 public long frameSize() { method in class:SPARCFrame

Completed in 126 milliseconds

12