[PD] what is the current state of the support for the Alsa Hammerfall driver?

Frank Barknecht barknech at ph-cip.uni-koeln.de
Thu Feb 14 12:28:23 CET 2002


Frank Barknecht hat gesagt: // Frank Barknecht wrote:

> This isn't possible, at least with pd-0.35+test3, because of the
> hardcoding if "hw:x,x" in s_main.c. And this might be the reason, why
> PD gives problems with a Hammerfall and ALSA. It maybe has a too naive
> alsa-device selection option. Currently this is:
> 
> -alsadev <n>     -- ALSA device # (counting from 1) or name: default hw:0,0

I'm soo STUPID, forgive me. Of course using PCM names is possible, I should learn
to read...

But somehow I cannot use the plugin layer: "-alsadev plughw:0,0" or
"alsadev default:0,0" gives a stuck Audio I/O:

ALSA lib pcm_hw.c:145:(snd_pcm_hw_hw_free) SNDRV_PCM_IOCTL_HW_FREE failed: File descriptor in bad state
snd_pcm_close (input): File descriptor in bad state
ALSA lib pcm_hw.c:145:(snd_pcm_hw_hw_free) SNDRV_PCM_IOCTL_HW_FREE failed: File descriptor in bad state
snd_pcm_close (output): File descriptor in bad state

Strange,
-- 
                                                 __    __
 Frank Barknecht       ____ ______   ____ __ trip\ \  / /wire ______
                      / __// __  /__/ __// // __  \ \/ /  __ \\  ___\	
                     / /  / ____/  / /  / // ____// /\ \\  ___\\____ \	
                    /_/  /_____/  /_/  /_//_____// /  \ \\_____\\_____\
                                                /_/    \_\ 



More information about the Pd-list mailing list