Dependencies/Build/mac/include/faust/audio/alsa-dsp.h
void longinfo()
	{
		int						err;
		snd_ctl_card_info_t*	card_info;
    	snd_ctl_t*				ctl_handle;

		printf("Audio Interface Description :\n");
		printf("Sampling Frequency : %d, Sample Format : %s, buffering : %d\n",
				fFrequency, snd_pcm_format_name((_snd_pcm_format)fSampleFormat), fBuffering);
		printf("Software inputs : %2d, Software outputs : %2d\n", fSoftInputs, fSoftOutputs);
		printf("Hardware inputs : %2d, Hardware outputs : %2d\n", fCardInputs, fCardOutputs);
		printf("Channel inputs  : %2d, Channel outputs  : %2d\n", fChanInputs, fChanOutputs);

		// affichage des infos de la carte
		err = snd_ctl_open(&ctl_handle, fCardName, 0); check_error(err);
		snd_ctl_card_info_alloca(&card_info);
		err = snd_ctl_card_info(ctl_handle, card_info); check_error(err);
		printCardInfo(card_info);

		// affichage des infos liees aux streams d'entree-sortie
		if (fSoftInputs > 0)	printHWParams(fInputParams);
		if (fSoftOutputs > 0)	printHWParams(fOutputParams);
	}
/**
	 *  print more detailled information on the audio device
	 */
print more detailled information on the audio device
print more detailled information on the audio device
void longinfo()
	{
		int						err;
		snd_ctl_card_info_t*	card_info;
    	snd_ctl_t*				ctl_handle;
		printf("Audio Interface Description :\n");
		printf("Sampling Frequency : %d, Sample Format : %s, buffering : %d\n",
				fFrequency, snd_pcm_format_name((_snd_pcm_format)fSampleFormat), fBuffering);
		printf("Software inputs : %2d, Software outputs : %2d\n", fSoftInputs, fSoftOutputs);
		printf("Hardware inputs : %2d, Hardware outputs : %2d\n", fCardInputs, fCardOutputs);
		printf("Channel inputs  : %2d, Channel outputs  : %2d\n", fChanInputs, fChanOutputs);
		err = snd_ctl_open(&ctl_handle, fCardName, 0); check_error(err);
		snd_ctl_card_info_alloca(&card_info);
		err = snd_ctl_card_info(ctl_handle, card_info); check_error(err);
		printCardInfo(card_info);
		if (fSoftInputs > 0)	printHWParams(fInputParams);
		if (fSoftOutputs > 0)	printHWParams(fOutputParams);
	}
void longinfo ( ) { int err ; snd_ctl_card_info_t * card_info ; snd_ctl_t * ctl_handle ; printf ( " \n " ) ; printf ( " \n " , fFrequency , snd_pcm_format_name ( ( _snd_pcm_format ) fSampleFormat ) , fBuffering ) ; printf ( " \n " , fSoftInputs , fSoftOutputs ) ; printf ( " \n " , fCardInputs , fCardOutputs ) ; printf ( " \n " , fChanInputs , fChanOutputs ) ; err = snd_ctl_open ( & ctl_handle , fCardName , 0 ) ; check_error ( err ) ; snd_ctl_card_info_alloca ( & card_info ) ; err = snd_ctl_card_info ( ctl_handle , card_info ) ; check_error ( err ) ; printCardInfo ( card_info ) ; if ( fSoftInputs > 0 ) printHWParams ( fInputParams ) ; if ( fSoftOutputs > 0 ) printHWParams ( fOutputParams ) ; }
print more detailled information on the audio device
print more detailled information on the audio device
// affichage des infos de la carte // affichage des infos liees aux streams d'entree-sortie