Hi, At Tue, 21 May 2002 20:05:21 +0100, Ted wrote: > > Its not singing for me. > > Problem 1 > ========= > > marimba$ sg audio -c 'cat monkey.au > /dev/dsp' > cat: write error: Cannot allocate memory > > marimba$ dmesg | grep ALSA > ALSA /u2/lfs/alsa-driver-0.9.0rc1/include/../alsa-kernel/ > core/oss/pcm_oss.c:390: HW_PARAMS failed: -12 > > marimba$ sg audio -c 'aplay monkey.au' > Playing Sparc Audio 'monkey.au' : Mu-Law, Rate 8012 Hz, Mono > ALSA lib pcm_hw.c:252: > (snd_pcm_hw_hw_params) SNDRV_PCM_IOCTL_HW_PARAMS failed: > Cannot allocate memory > aplay: set_params:787: Unable to install hw params: > ACCESS: RW_INTERLEAVED > FORMAT: MU_LAW > SUBFORMAT: STD > SAMPLE_BITS: 8 > FRAME_BITS: 8 > CHANNELS: 1 > RATE: 8012 > PERIOD_TIME: 125000 > PERIOD_SIZE: (1001 1002) > PERIOD_BYTES: (1001 1002) > PERIODS: (3 5) > BUFFER_TIME: 500000 > BUFFER_SIZE: NONE > BUFFER_BYTES: 4006 > TICK_TIME: 10000 > > According to gdb, the -ENOMEM is returned from the ioctl at > alsa-lib-0.9.0rc1/src/pcm/pcm_hw.c:250, not the earlier ones > that can also result in the same error message. > > I'm using linux-2.2.20, i586-pc-gnu, gcc-2.95.2, libc-2.1.3, > modutils-2.3.17 and a Gravis UltraSound PnP card.
there were bugs on rc1 for 2.2 kernels. i fixed them recently on cvs. please try the cvs version. Takashi _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
