dmix not working for oss

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks,

I can't get oss apps working with dmix. The alsa device is working fine, for example I can run multiple simultaneous instances of  "alsaplayer -o alsa -d plug:dmix some.mp3" without problem. Then, my .asoundrc configuration for oss dmix is:

pcm.dsp0 {
  type plug
  slave.pcm "hw:0"
}

ctl.mixer0 {
  type hw
  card 0
}

When no other application is using the soundcard, oss apps can write their sound output just fine. But as soon as I run one of the plug:dmix alsaplayer commands described above the sound device gets busy for these oss apps. So I guess they are not going through dmix, as I expected from my configuration.

The loaded sound modules are:

lsmod | grep snd
snd_seq_dummy           6020  0
snd_seq_oss            40704  0
snd_seq_midi           11648  0
snd_rawmidi            31872  1 snd_seq_midi
snd_seq_midi_event     10752  2 snd_seq_oss,snd_seq_midi
snd_seq                67616  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_seq_device         11284  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd_hda_intel          22556  4
snd_hda_codec         197632  1 snd_hda_intel
snd_pcm_oss            52352  0
snd_mixer_oss          20992  2 snd_pcm_oss
snd_pcm                97544  4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              29192  3 snd_seq,snd_pcm
snd                    72616  14 snd_seq_oss,snd_rawmidi,snd_seq,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              13984  2 snd
snd_page_alloc         12560  2 snd_hda_intel,snd_pcm

And the version of alsa I'm using is:

ii  alsa-base                             1.0.11-5ubuntu1                      ALSA driver configuration files
ii  libasound2                            1.0.11-7ubuntu3                      ALSA library

Any ideas of what could be happening here?

Thank you in advance.
Cheers,
Carlos

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux