comparison audio_convert.c @ 382:ce998ee6194f

Sync'd with latest altcvt.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 03 Jul 2002 04:44:46 +0000
parents fbbb1f25b944
children fb519e6028e3
comparison
equal deleted inserted replaced
381:ef30365ac717 382:ce998ee6194f
577 * audio filter is set up. 577 * audio filter is set up.
578 */ 578 */
579 579
580 int Sound_BuildAudioCVT(Sound_AudioCVT *cvt, 580 int Sound_BuildAudioCVT(Sound_AudioCVT *cvt,
581 Uint16 src_format, Uint8 src_channels, Uint32 src_rate, 581 Uint16 src_format, Uint8 src_channels, Uint32 src_rate,
582 Uint16 dst_format, Uint8 dst_channels, Uint32 dst_rate) 582 Uint16 dst_format, Uint8 dst_channels, Uint32 dst_rate,
583 Uint32 dst_size)
583 { 584 {
584 /* Start off with no conversion necessary */ 585 /* Start off with no conversion necessary */
585 cvt->needed = 0; 586 cvt->needed = 0;
586 cvt->filter_index = 0; 587 cvt->filter_index = 0;
587 cvt->filters[0] = NULL; 588 cvt->filters[0] = NULL;