From alsa-user-owner@alsa.jcu.cz  Sun Nov 22 18:43:14 1998
Received: from mb06.swip.net (mb06.swip.net [193.12.122.210])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id SAA08378
	for <alsa-user@jcu.cz>; Sun, 22 Nov 1998 18:39:25 +0100
Received: from get2net.dk (p206-05.ppp.get2net.dk [195.82.196.133]) 
          by mb06.swip.net (8.8.8/8.8.8) with ESMTP 
          id SAA10831 for <alsa-user@jcu.cz>; 
          Sun, 22 Nov 1998 18:39:23 +0100 (MET)
Message-ID: <36584A62.E50ACB70@get2net.dk>
Date: Sun, 22 Nov 1998 18:31:15 +0100
From: Jan Bertelsen <jan.bertelsen@get2net.dk>
MIME-Version: 1.0
To: alsa-user@jcu.cz
Subject: YMF715 and PCM
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

Hi,

I have installed the latest release of ALSA on my laptop (Chicony MP-979
with SuSE-Linux and a YMF715 sound chip):

I'm using the snd-opl3sa.o module

Everything seems to load correctly: there are no errors in
/var/log/messages, the CD is playing well and the mixer is working.

But, aplay will only play the first few seconds of  .wav-files, and it
keeps repeating it until I kill it.
If I try to play a long sample (e.g. sampled from a CD with cdda2wav)
nothing happens.

As far as I can see the duration depends on the DMA size; a greather DMA
size gives a longer sample, but only a few seconds.

Also, play complains about "Invalid audio buffer size "

Any ideas what's wrong?

Thanks for any help,
Jan


Facts:

cat /proc/asound/version :

Advanced Linux Sound Architecture Driver Version 0.2.0-pre10p1.
Compiled in Nov 22 1998 for kernel 2.0.33.

cat /proc/asound/cards :

0 [CARD_1         ]: OPL3SA - Yamaha OPL3-SA3
                     Yamaha OPL3-SA3 at 0x100, irq 5, dma 0&1

from /etc/conf.modules :

# --- BEGIN: Generated by ALSACONF, do not edit. ---
alias char-major-14 snd
alias snd-minor-oss-0 snd-opl3sa
alias snd-minor-oss-3 snd-pcm1-oss
alias snd-minor-oss-4 snd-pcm1-oss
alias snd-minor-oss-5 snd-pcm1-oss
alias snd-minor-oss-12 snd-pcm1-oss
alias snd-card-0 snd-opl3sa
options snd snd_major=14 snd_cards_limit=1 snd_device_mode=0666
snd_device_gid=0
 snd_device_uid=0
options snd-opl3sa snd_index=1 snd_id=CARD_1 snd_port=0x100
snd_wss_port=0x530 s
nd_midi_port=0x300 snd_fm_port=0x388 snd_irq=5 snd_dma1=0
snd_dma1_size=128kB sn
d_dma2=1 snd_dma2_size=128kB
# --- END: Generated by ALSACONF, do not edit. ---




























