ignore crc stuff for mp3's cause some mp3's have foobar'd CRC's
git-svn-id: https://svn.musicpd.org/mpd/trunk@1039 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
		
							
								
								
									
										1
									
								
								TODO
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								TODO
									
									
									
									
									
								
							| @@ -5,6 +5,7 @@ | |||||||
| 		process! | 		process! | ||||||
| 	b) pass decoderControl to inputStream, so that if we are doing blocking | 	b) pass decoderControl to inputStream, so that if we are doing blocking | ||||||
| 		stuff, its easy to halt it and return | 		stuff, its easy to halt it and return | ||||||
|  | 	c) for mp3, remember to turn off IGNORECRC for mp3 streams | ||||||
|  |  | ||||||
| 2) streaming and playing in general | 2) streaming and playing in general | ||||||
| 	a) determine a clever interface to play, so that play doesn't block | 	a) determine a clever interface to play, so that play doesn't block | ||||||
|   | |||||||
| @@ -154,6 +154,7 @@ int initMp3DecodeData(mp3DecodeData * data, char * file) { | |||||||
| 	data->flush = 1; | 	data->flush = 1; | ||||||
|  |  | ||||||
| 	mad_stream_init(&data->stream); | 	mad_stream_init(&data->stream); | ||||||
|  | 	data->stream.options |= MAD_OPTION_IGNORECRC; | ||||||
| 	mad_frame_init(&data->frame); | 	mad_frame_init(&data->frame); | ||||||
| 	mad_synth_init(&data->synth); | 	mad_synth_init(&data->synth); | ||||||
| 	mad_timer_reset(&data->timer); | 	mad_timer_reset(&data->timer); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Warren Dukes
					Warren Dukes