comparison decoders/mpglib.c @ 322:31cc49d7d0ce

MacOS fixes.
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 29 Apr 2002 06:12:47 +0000
parents c97be6e1bd27
children 069ce624d6cf
comparison
equal deleted inserted replaced
321:182fdc76060d 322:31cc49d7d0ce
172 172
173 /* !!! FIXME: Determine what format mpglib is spitting out... */ 173 /* !!! FIXME: Determine what format mpglib is spitting out... */
174 internal->decoder_private = mpg; 174 internal->decoder_private = mpg;
175 sample->actual.rate = mpglib_freqs[mpg->mp.fr.sampling_frequency]; 175 sample->actual.rate = mpglib_freqs[mpg->mp.fr.sampling_frequency];
176 sample->actual.channels = mpg->mp.fr.stereo; 176 sample->actual.channels = mpg->mp.fr.stereo;
177 sample->actual.format = AUDIO_S16LSB; /* !!! FIXME: Is this right? */ 177 sample->actual.format = AUDIO_S16SYS; /* !!! FIXME: Is this right? */
178 sample->flags = SOUND_SAMPLEFLAG_NONE; 178 sample->flags = SOUND_SAMPLEFLAG_NONE;
179 179
180 return(1); /* we'll handle this data. */ 180 return(1); /* we'll handle this data. */
181 } /* MPGLIB_open */ 181 } /* MPGLIB_open */
182 182