¡@

Home 

2014/10/16 ¤W¤È 08:22:10

android Programming Glossary: readshort

Cannot extract file from ZIP archive created on Android (device/OS specific)

http://stackoverflow.com/questions/11039079/cannot-extract-file-from-zip-archive-created-on-android-device-os-specific

length in CDE dskip 46 length of fixed CDE part dskip readShort r file name dskip readShort r extra field dskip readShort.. of fixed CDE part dskip readShort r file name dskip readShort r extra field dskip readShort r file comment cde_offset dskip.. r file name dskip readShort r extra field dskip readShort r file comment cde_offset dskip if cde_offset eocd_offset..

Using AudioTrack in Android to play a WAV file

http://stackoverflow.com/questions/3925030/using-audiotrack-in-android-to-play-a-wav-file

into the music array while dis.available 0 music i dis.readShort This assignment does not reverse the order i dis.close .. stream In this version music is array of SHORTS. So the readShort method would seem to make sense here since the data is 16 bit..

Cannot extract file from ZIP archive created on Android (device/OS specific)

http://stackoverflow.com/questions/11039079/cannot-extract-file-from-zip-archive-created-on-android-device-os-specific

Entry r.seek cde_offset 28 offset of variable CDE parts length in CDE dskip 46 length of fixed CDE part dskip readShort r file name dskip readShort r extra field dskip readShort r file comment cde_offset dskip if cde_offset eocd_offset.. 28 offset of variable CDE parts length in CDE dskip 46 length of fixed CDE part dskip readShort r file name dskip readShort r extra field dskip readShort r file comment cde_offset dskip if cde_offset eocd_offset finished break calculate offset.. length in CDE dskip 46 length of fixed CDE part dskip readShort r file name dskip readShort r extra field dskip readShort r file comment cde_offset dskip if cde_offset eocd_offset finished break calculate offset of next Local File Header..

Using AudioTrack in Android to play a WAV file

http://stackoverflow.com/questions/3925030/using-audiotrack-in-android-to-play-a-wav-file

the audio data from the saved file int i 0 Read the file into the music array while dis.available 0 music i dis.readShort This assignment does not reverse the order i dis.close Close the input stream In this version music is array of SHORTS... does not reverse the order i dis.close Close the input stream In this version music is array of SHORTS. So the readShort method would seem to make sense here since the data is 16 bit PCM... However on the Android that seems to be the problem...