pipi7817 / as3wavsound

Automatically exported from code.google.com/p/as3wavsound
Other
0 stars 0 forks source link

End of file #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load a wav file from attachment into a demo example.
File was recorded with WAVWriter library:
http://code.google.com/p/speechapi/source/browse/trunk/src/flash/com/adobe/audio
/format/WAVWriter.as?r=15
2. Try to play it (on my machine file is playing correct).
3. I also tried (it didn't helped) to use specific AudioSettings:
new WavSound(new SoundClass() as ByteArray, new AudioSetting(1, 44100, 16);

What is the expected output? What do you see instead?
File is not playing. Error:
Error: Error #2030: End of file was encountered.
    at flash.utils::ByteArray/readBytes()
    at org.as3wavsound.sazameki.format.riff::LIST/splitList()[D:\Projects\Adobe Flash Builder 4.6\Kanarek\src\org\as3wavsound\sazameki\format\riff\LIST.as:65]
    at org.as3wavsound.sazameki.format.wav::Wav/decode()[D:\Projects\Adobe Flash Builder 4.6\Kanarek\src\org\as3wavsound\sazameki\format\wav\Wav.as:38]
    at org.as3wavsound::WavSound/load()[D:\Projects\Adobe Flash Builder 4.6\Kanarek\src\org\as3wavsound\WavSound.as:115]
    at org.as3wavsound::WavSound()[D:\Projects\Adobe Flash Builder 4.6\Kanarek\src\org\as3wavsound\WavSound.as:101]

What version of the product are you using? On what operating system?
version:0.9
operating system: Android 4.0.4 with Adobe AIR/flex

Original issue reported on code.google.com by sikora.j...@gmail.com on 25 Oct 2012 at 8:31

Attachments:

GoogleCodeExporter commented 9 years ago
see error 15

Original comment by Archeme...@gmail.com on 23 May 2013 at 11:44