music_mad.c
changeset 600 413430798384
parent 561 87bdb4c81c0b
child 601 05123263dab3
child 890 ae9b46ccd5ab
equal deleted inserted replaced
599:9a9b330729f5 600:413430798384
   222   Uint8 *out;
   222   Uint8 *out;
   223 
   223 
   224   if ((mp3_mad->status & MS_playing) == 0) {
   224   if ((mp3_mad->status & MS_playing) == 0) {
   225 	/* We're not supposed to be playing, so send silence instead. */
   225 	/* We're not supposed to be playing, so send silence instead. */
   226 	memset(stream, 0, len);
   226 	memset(stream, 0, len);
   227 	return;
   227 	return 0;
   228   }
   228   }
   229 
   229 
   230   out = stream;
   230   out = stream;
   231   bytes_remaining = len;
   231   bytes_remaining = len;
   232   while (bytes_remaining > 0) {
   232   while (bytes_remaining > 0) {