AnilPhilip - 2005-12-20

Hello,
Appreciate your help. I opened an audiostream in
append mode in order to use JSpeex to record to it,
close it, again open and record appending to it. However it does not append but only the last clip gets recorded and when playing back, I get the following exception:
AudioPlayer.main():

written to SourceDataLine (bytes): 23040
java.io.StreamCorruptedException: Ogg Stream Serial
Number mismatch AudioPlayer.main(): read from
AudioInputStream (bytes): 23040
    at
org.xiph.speex.spi.Speex2PcmAudioInputStream.readOggPageHeader(Unknown
Source)
    at
org.xiph.speex.spi.Speex2PcmAudioInputStream.fill(Unknown
Source)
    at
org.xiph.speex.spi.FilteredAudioInputStream.read(Unknown
Source)

thanks,
Anil Philip