snd_mp3.c (mp3_startread): set the missing stream->info.bits value

(for completeness only.)


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@865 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2013-07-27 05:05:44 +00:00
parent 4a69497ed6
commit f68cafe5be
1 changed files with 2 additions and 1 deletions

View File

@ -252,8 +252,9 @@ static int mp3_startread(snd_stream_t *stream)
mad_timer_add(&p->Timer,p->Frame.header.duration);
mad_synth_frame(&p->Synth,&p->Frame);
stream->info.width = MP3_MAD_SAMPLEWIDTH;
stream->info.rate = p->Synth.pcm.samplerate;
stream->info.bits = MP3_MAD_SAMPLEBITS;
stream->info.width = MP3_MAD_SAMPLEWIDTH;
p->cursamp = 0;