Hi Chris,

sorry for late reply - i'm just back from vacation.

At Tue, 19 Nov 2002 21:55:16 +0000 (GMT),
Chris Rankin wrote:
> 
> Hi,
> 
> My box has now accumulated almost 3 weeks of uptime,
> and so the ALSA memory problem is back again:
> 
> $ aplay /usr/lib/sounds/jungle_exit.wav 
> Playing WAVE '/usr/lib/sounds/jungle_exit.wav' :
> Signed 16 bit Little Endian, Rate 22050 Hz, Stereo
> ALSA lib pcm_hw.c:297:(snd_pcm_hw_hw_params)
> SNDRV_PCM_IOCTL_HW_PARAMS failed: Cannot allocate
> memory
> aplay: set_params:814: Unable to install hw params:
> ACCESS:  RW_INTERLEAVED
> FORMAT:  S16_LE
> SUBFORMAT:  STD
> SAMPLE_BITS: 16
> FRAME_BITS: 32
> CHANNELS: 2
> RATE: 22050
> PERIOD_TIME: 100000
> PERIOD_SIZE: 2205
> PERIOD_BYTES: 8820
> PERIODS: 5
> BUFFER_TIME: 500000
> BUFFER_SIZE: 11025
> BUFFER_BYTES: 44100
> TICK_TIME: 10000
> 
> Is that patch you sent me to hack^Wfix this still
> relevant, or will it make things worse?

i found bugs in the old patch.
the attached patch should work better.
could you try it?


ciao,

Takashi

Attachment: sgbuf-getpage.dif
Description: Binary data

Reply via email to