diff --git a/src/sound_load.c b/src/sound_load.c index a36d3e3c..02971aa3 100644 --- a/src/sound_load.c +++ b/src/sound_load.c @@ -39,7 +39,7 @@ SoundSampleGetData(const char *file, SoundSampleData * ssd) return -1; frame_count = afGetFrameCount(in_file, AF_DEFAULT_TRACK); - ssd->channels = ssd->channels = afGetChannels(in_file, AF_DEFAULT_TRACK); + ssd->channels = afGetChannels(in_file, AF_DEFAULT_TRACK); ssd->rate = (unsigned int)(afGetRate(in_file, AF_DEFAULT_TRACK) + .5); afGetSampleFormat(in_file, AF_DEFAULT_TRACK, &in_format, &in_width); ssd->bit_per_sample = in_width;