[PD] pd & alsa 0.9.0b9

marco trevisani marco at ccrma.stanford.edu
Wed Nov 28 03:00:10 CET 2001


Well...to me it sounds that once again a new ALSA release has some 
incompatibility with the previous one....
I dont have 0.9.0b9 installed so it is just a guess based on previous 
experiences...:-(

Did you try an __older__ version such as 0.9.0beta7 or beta8 ?

	marco


On  Tuesday, 27 November 2001 21:53:13 CK wrote:
>    hi,
>       I'm finally moving towards the alsa drivers and got the latest
>    (0.9.0beta9)
>    release, aplay and amixer work fine, oss emulation is also ok but pd when
>    started with the -alsa flag gives me :
>       .
>    .
>    > opened 0 MIDI input device(s) and 0 MIDI output device(s).
>    > audio buffer set to 40
>    > opening sound input...
>    > snd_pcm_hw_params_set_access (input): Invalid argument
>    > Sample width set to 2 bytes
>    > opening sound output...
>    > input channels = 2, output channels = 2
>    > port 5401
>    > TCL_LIBRARY=./tcl/library TK_LIBRARY=./tk/library ./bin/pd-gui 5401
>    > priority 96 scheduling enabled.
>    > memory locking enabled.
>    > Waiting for connection request...
>    > priority 98 scheduling enabled.
>    > memory locking enabled.
>    > ./bin/pd-watchdog
>    > ... connected
>    > pd: pcm.c:472: snd_pcm_readi: Assertion `pcm->access ==
>    SND_PCM_ACCESS_RW_INTERLEAVED' failed.
>    > Pd: signal 6
>    > 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
>    > test:/home/x/audio/sw/pd/pd-0.34-4# stdout: Broken pipe
>       could well be a bug in libasound, I was just wondering if anyone else
>    already
>    messed around with that,
>       if I use -noadc OTOH (since the above is a read access problem) 
> everything
>       works fine ...
>       card is ESS maestro 2e with snd-card-es1968 driver
>          BTW, I had to make the following changes to s_linux.c:
>       #ifdef ALSA01
>    #include <alsa/asoundlib.h>   /* The include file path changed .... */
>    #endif
>    #ifdef ALSA99
>    #include <sys/asoundlib.h>   /* honestly ... */
>    #endif
>             regards,
>       x
>          --
>    chris at lo-res.org	Postmodernism is german romanticism with better
>    http://pilot.fm/	special effects. (Jeff Keuss / via ctheory.com)
> 

*-------------------------------------------------------------------*
      marco trevisani   (to get the real email address take out "__")
email________________:  m__arco at ccrma.sta__nford.edu      
Web________________:  http://trevisani.mine.nu	      DeMuDi -- Debian 
Multimedia Distribution 	 demudi email_________:  
m__arco at dem__udi.org              demudi web__________:  
http://www.demudi.org		      Digital Arts Festivals. Calls and 
reports <--NEW!!
D-Festival Web______:  http://festivals.webhop.org
*-------------------------------------------------------------------*



More information about the Pd-list mailing list