[linux-audio-user] (no subject)

Jago Pearce jago25_98 at hotmail.com
Wed Sep 25 07:17:18 EDT 2002


The Alsa documentation is confusing me massively.

I have no problems getting a basic setup sorted but I'm having trouble when 
trying to do more than one thing at a time.

I have 2 soundcards:

- via686 onboard (half-duplex hardware. Can only record OR playback, can 
only playback one thing at a time atm)

- ymfpci (should be full-duplex. Can play back more than one thing at a 
time. Should be able to record whilst playing back)

One way or another I need to record whilst playing back and be able to 
playback from >1 source (i.e. play 2 mp3 files at once).

To do this:

- How do I go about setting up /dev/dsp1 as well as /dev/dsp? (I have edited 
/etc/modules.d/alsa and update-modules to no avail. Can I do this with 
seporate soundcards or
just one? (the ymfpci has 2 channels)

- How do I get my yamaha to record whilst playing back (full-duplex)? I have 
followed install instructions and I think it should work

Any links or suggestions would be great. I'm finding Alsa incredibly 
compilcated for me.

Perhaps (as the most simple answer) I could have the via686 using standard 
OSS and the ymfpci using Alsa?

-------------------
details to follow:-
-------------------

#lsmod

snd-pcm-oss            36804   1
snd-mixer-oss           9184   0  [snd-pcm-oss]
joydev                  6816   0  (unused)
input                   3424   0  [joydev]
snd-opl3-synth          8604   0  (unused)
snd-seq-instr           4432   0  [snd-opl3-synth]
snd-seq-midi-emul       4560   0  [snd-opl3-synth]
snd-seq                37868   0  [snd-opl3-synth snd-seq-instr 
snd-seq-midi-emul]
snd-ainstr-fm           1540   0  [snd-opl3-synth]
ppdev                   8292   0  (unused)
lp                      6176   0  (unused)
hid                    15072   0  (unused)
sr_mod                 11864   0  (unused)
apm                     9608   1
uhci                   24296   0  (unused)
vfat                   10780   0  (unused)
fat                    32056   0  [vfat]
parport_pc             13252   1
parport                14208   1  [ppdev lp parport_pc]
printer                 7488   0  (unused)
scanner                 8512   0  (unused)
NVdriver             1065920  10
ide-scsi                7680   0
eepro100               17456   1
snd-via686              7076   0
snd-ymfpci             41664   1
snd-pcm                56256   0  [snd-pcm-oss snd-via686 snd-ymfpci]
snd-ac97-codec         24432   0  [snd-via686 snd-ymfpci]
snd-mpu401-uart         2736   0  [snd-via686 snd-ymfpci]
snd-rawmidi            12896   0  [snd-mpu401-uart]
snd-opl3-lib            5408   0  [snd-opl3-synth snd-ymfpci]
snd-timer              10688   0  [snd-seq snd-pcm snd-opl3-lib]
snd-hwdep               3712   0  [snd-opl3-lib]
snd-seq-device          3936   0  [snd-opl3-synth snd-seq snd-rawmidi 
snd-opl3-lib]
snd                    25928   0  [snd-pcm-oss snd-mixer-oss snd-opl3-synth 
snd-seq-instr snd-seq snd-via686 snd-ymfpci snd-pcm snd-ac97-codec 
snd-mpu401-uart snd-rawmidi
snd-opl3-lib snd-timer snd-hwdep snd-seq-device]

# cat /etc/modules.d/alsa

# Alsa 0.9.X kernel modules' configuration file.
# $Header: 
/home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.conf,v 
1.3 2002/06/24 18:05:58 agenkin Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias snd-card-0 snd-ymfpci
alias snd-card-1 snd-via686
#alias snd-card-2 snd-ymfpci
#alias snd-card-3 snd-via686
#alias snd-card-4 snd-ymfpci
#alias snd-card-5 snd-via686
#alias snd-card-6 snd-ymfpci
#alias snd-card-7 snd-via686

##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss
#alias /dev/dsp1 snd-pcm-oss? or something?

...?

-----
Thank you for your time. (Please Type "REPLY:" in subject field if you wish 
to highlight your response, thx). PGP comms are available on request. My 
hushmail account is jago25_98 at hushmail.com.


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com




More information about the Linux-audio-user mailing list