[linux-audio-user] Soundless ALSA Newbie

Sakari Aaltonen sakari at aplac.hut.fi
Thu Jan 9 15:39:01 EST 2003


> But you'll be pleased to know that you can make midi works really good (if better) with timidity. It's a midi player with soundfonts that can act as an alsa server for midi (must be specified at compil time). You should really try timidity. It's shipped with a lot of linux distros.
> 
> Cheers
> Guy CLO~

I tried TiMidity++-2.11.3, but it wouldn't compile:
...........................................
alsa_a.c: In function `check_sound_cards':
alsa_a.c:116: storage size of `ctl_hw_info' isn't known
alsa_a.c:117: storage size of `pcm_info' isn't known
alsa_a.c:152: warning: passing arg 2 of `snd_ctl_open' makes pointer from integer without a cast
alsa_a.c:152: too few arguments to function `snd_ctl_open'
alsa_a.c:186: warning: passing arg 2 of `snd_ctl_pcm_info' makes pointer from integer without a cast
alsa_a.c:186: too many arguments to function `snd_ctl_pcm_info'
alsa_a.c:194: `SND_PCM_INFO_PLAYBACK' undeclared (first use in this function)
alsa_a.c:194: (Each undeclared identifier is reported only once
alsa_a.c:194: for each function it appears in.)
alsa_a.c: In function `set_playback_info':
alsa_a.c:231: `snd_pcm_channel_info_t' undeclared (first use in this function)
alsa_a.c:231: parse error before `pinfo'
alsa_a.c:232: `snd_pcm_channel_params_t' undeclared (first use in this function)
alsa_a.c:233: `snd_pcm_channel_setup_t' undeclared (first use in this function)
alsa_a.c:241: `pparams' undeclared (first use in this function)
alsa_a.c:244: `pinfo' undeclared (first use in this function)
alsa_a.c:245: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function)
alsa_a.c:258: `SND_PCM_FMT_S8' undeclared (first use in this function)
alsa_a.c:258: `SND_PCM_FMT_U8' undeclared (first use in this function)
alsa_a.c:260: `SND_PCM_FMT_S16' undeclared (first use in this function)
alsa_a.c:260: `SND_PCM_FMT_U16' undeclared (first use in this function)
alsa_a.c:306: `SND_PCM_FMT_S16_LE' undeclared (first use in this function)
alsa_a.c:309: `SND_PCM_SFMT_S16_LE' undeclared (first use in this function)
alsa_a.c:345: `SND_PCM_SFMT_U8' undeclared (first use in this function)
alsa_a.c:426: `SND_PCM_MODE_BLOCK' undeclared (first use in this function)
alsa_a.c:428: `SND_PCM_START_GO' undeclared (first use in this function)
alsa_a.c:430: `SND_PCM_XRUN_FLUSH' undeclared (first use in this function)
alsa_a.c:485: `psetup' undeclared (first use in this function)
alsa_a.c: In function `open_output':
alsa_a.c:541: `SND_PCM_OPEN_PLAYBACK' undeclared (first use in this function)
alsa_a.c:541: warning: passing arg 2 of `snd_pcm_open' makes pointer from integer without a cast
alsa_a.c:560: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function)
alsa_a.c: In function `output_data':
alsa_a.c:590: `snd_pcm_channel_status_t' undeclared (first use in this function)
alsa_a.c:590: parse error before `status'
alsa_a.c:595: `status' undeclared (first use in this function)
alsa_a.c:596: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function)
alsa_a.c:604: `SND_PCM_STATUS_XRUN' undeclared (first use in this function)
alsa_a.c: In function `acntl':
alsa_a.c:670: `snd_pcm_channel_status_t' undeclared (first use in this function)
alsa_a.c:670: parse error before `pstatus'
alsa_a.c:671: `pstatus' undeclared (first use in this function)
alsa_a.c:672: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function)
make[2]: *** [alsa_a.o] Error 1
make[2]: Leaving directory `/usr/src/TiMidity++-2.11.3/timidity'
make[1]: *** [all-recursive] Error 1
................................



Sakari Aaltonen



More information about the Linux-audio-user mailing list