~ubuntu-branches/ubuntu/saucy/esound/saucy-proposed

« back to all changes in this revision

Viewing changes to mix.c

  • Committer: Bazaar Package Importer
  • Author(s): Ryan Murray
  • Date: 2006-01-13 00:33:23 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060113003323-wbseckte1b6s74wj
Tags: 0.2.36-3
Only include *64 functions if necessary in libesddsp for things
that check at runtime rather than compile time (closes: #347751)

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
            return (translate_func_t)&mix_from_stereo_8u;
96
96
    }
97
97
    
98
 
    return 0;
 
98
    return NULL;
99
99
}
100
100
 
101
101
/* decides which of the mix_from_* functions to use, and calls it */
672
672
    register signed short *source_data_ss
673
673
        = (signed short *) player->data_buffer;
674
674
 
675
 
    ESDBG_MIXER( printf( "mixing stereo 16s to stereo 32s\n" ); );
 
675
    ESDBG_MIXER( printf( "mixing stereo 16s to stereo 32s length %d\n", length ); );
676
676
 
677
677
    if ( player->rate == esd_audio_rate ) {
678
678
        /* optimize for simple increment by one and add loop */
1008
1008
    return max;
1009
1009
}
1010
1010
 
1011
 
int refresh_mix_funcs()
 
1011
int refresh_mix_funcs(void)
1012
1012
{
1013
1013
    esd_player_t *filter = esd_filter_list;
1014
1014
    int translations = 0;