prasannaa-ss / jshout

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

Data packet transmission #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently jshout sends 1 frame of the mp3 file at a time.  This should be
altered so that it sends a specific number of bytes at a time.

Steps to be taken:

-MP3 handler loads file a frame at a time into a stream
-send() command takes # of bytes from stream
-MP3 handler calculates the length (in ms) of the message for sync()

Original issue reported on code.google.com by tommy.mu...@gmail.com on 10 Mar 2007 at 3:57

GoogleCodeExporter commented 9 years ago

Original comment by tommy.mu...@gmail.com on 24 Apr 2007 at 12:51

GoogleCodeExporter commented 9 years ago
An abstract class FileReader that implements Iterator and a subclass MP3Reader 
were
created to fix this.  It is now much easier to load the file into Segments of a
specified size.  Haven't fixed the sync-ing capabilities though.

Original comment by tommy.mu...@gmail.com on 27 Apr 2007 at 9:42