Path: utzoo!attcan!uunet!image.soe.clarkson.edu!AAron From: AAron@image.soe.clarkson.edu (AAron nAAs) Newsgroups: comp.sys.atari.st Subject: Re: fread problems in MWC when loading my STE samples!! Message-ID: <1990Jul7.191031.4017@sun.soe.clarkson.edu> Date: 7 Jul 90 19:10:31 GMT References: <1990Jul7.183335.3152@sun.soe.clarkson.edu> Sender: AAron@sun.soe.clarkson.edu (AAron nAAs) Organization: Clarkson University, Potsdam, NY Lines: 24 From article <1990Jul7.183335.3152@sun.soe.clarkson.edu>, by AAron@image.soe.clarkson.edu (AAron nAAs): > > The problem is that the command won't ALWAYS read the "n" bytes that I request. > "count" ends up less than "n". > Does fread stop when it encounters a certain byte code, thinking it has > reached the end of file? > > > AAron nAAs Yes, once I get this STe digital sample player totally working, > I WILL post it to the net!! YOU IDIOT! I'll bet your doing an fp=fopen(filename, "r"); try fp=fopen(filename, "rb"); sound samples are BINARY files!!! AAron "oops" nAAs