[Alsa-user] [DMIX Plugin] Issue in using Different bindings for same Alsa card

2020-07-15 Thread Vijay Palaniswamy (RBEI/ECF3) via Alsa-user
I have two virtual device pointing to same Alsa card ,with different bindings When audio played on both device [dmix_4_channels and dmix_2_channels] in parallel. Audio played on dmix_2_channels is getting corrupted. Validated with alsa version : 1.2.3 Please let me know how to make it work with

Re: [Alsa-user] dmix with non-hw slave ?

2018-01-29 Thread Clemens Ladisch via Alsa-user
Robert Bielik wrote: > Is it possible on the ALSA side to setup dmix to use the "jack" type > plugin as backend ? No; dmix requires a feature that is supported only by the kernel driver. > Or will the jack plugin do the same job as dmix, i.e. mix together > applications using the device ? Every

[Alsa-user] dmix with non-hw slave ?

2018-01-29 Thread Robert Bielik
I want to setup a system where JACK manages a low latency path for audio in/out, and where ALSA apps use the ALSA JACK PCM plugin (http://jackaudio.org/faq/routing_alsa.html) Is it possible on the ALSA side to setup dmix to use the "jack" type plugin as backend ? Or will the jack plugin do the

Re: [Alsa-user] Dmix problem

2018-01-22 Thread Robert Bielik
> > is there some ALSA plugin that can coalesce buffering ? Meaning that > > the plugin can take f.i. larger period_size than what the dmix device > > is working with ? > > What problem would that solve? Not sure. It would allow clients connecting to that device to have a more relaxed callback s

Re: [Alsa-user] Dmix problem

2018-01-22 Thread Clemens Ladisch via Alsa-user
Robert Bielik wrote: > is there some ALSA plugin that can coalesce buffering ? Meaning that > the plugin can take f.i. larger period_size than what the dmix device > is working with ? What problem would that solve? Regards, Clemens ---

Re: [Alsa-user] Dmix problem

2018-01-22 Thread Robert Bielik
Hi Clemens, > >> Is there any other plugin doing the same thing as dmix... but working ? > > Yes, dmix with a larger buffer size (i.e., more periods). Hmm. Yes. I've tried running aplay with "chrt --rr 99" and it got way more stable, even at as low a settings as 64 frames (period_size) + 2 peri

Re: [Alsa-user] Dmix problem

2018-01-22 Thread Clemens Ladisch via Alsa-user
Robert Bielik wrote: >> Is there any other plugin doing the same thing as dmix... but working ? Yes, dmix with a larger buffer size (i.e., more periods). > I'd need a mixing plugin that does not do sample rate conversion, i.e. each > client connecting to it should be forced to use the mix plugs s

Re: [Alsa-user] Dmix problem

2018-01-22 Thread Robert Bielik
> The reason is that for my project I need to have as low a latency as possible > in > the dmix chain. Is there any other plugin doing the same thing as dmix... but > working ? 😊 More specifically, I'd need a mixing plugin that does not do sample rate conversion, i.e. each client connecting to i

[Alsa-user] Dmix problem

2018-01-22 Thread Robert Bielik
Hi, I'm using the audioinjector octocard on a R Pi 3, and I have a problem where the system default dmix (dmix:0,0) plays just fine (via aplay), but my own defined dmix device occasionally stops streaming with a xrun condition: Status(R/W): state : RUNNING trigger_time: 13953.124684

Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-14 Thread Andoru Ekkusu
> Did you tried simply something like (from my /etc/asound.conf) : > > pcm.!default { > type plug > slave.pcm "dmix" > } > ctl.!default { > type hw > card 0 > } > > Also before change asound.conf, you can test dmix with command $aplay > file.wav -Dplug:dmix > > Regards, > VV >

Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-06 Thread Andoru Ekkusu
> > This older thread might help you, Philip Rhoades had a similar problem. > > https://www.mail-archive.com/alsa-user lists.sourceforge.net/msg31403.html > Sorry for the late reply and thanks for your suggestion! Unfortunately though, with that configuration it still only one program can use

Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-06 Thread Andoru Ekkusu
Thanks for the answer, Vincent. > Did you tried simply something like (from my /etc/asound.conf) : > > pcm.!default { > type plug > slave.pcm "dmix" > } > ctl.!default { > type hw > card 0 > } Yes, that causes ALSA to use the HDMI port (at least it's what I assume it does, I

Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-04 Thread Vincent Vanbesien (DIEHCO)
>> Don't redefine pcm.default. Put this into /etc/asound.conf or ~/.asoundrc: >> >> defaults.pcm.card PCH >> defaults.ctl.card PCH >> >> Regards, >> Clemens >> > Thanks for the suggestion, however that causes sound to no longer work... > > +

Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-04 Thread Andoru Ekkusu
> Don't redefine pcm.default. Put this into /etc/asound.conf or ~/.asoundrc: > > defaults.pcm.card PCH > defaults.ctl.card PCH > > Regards, > Clemens > Thanks for the suggestion, however that causes sound to no longer work... ++

Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-02 Thread Clemens Ladisch
Andoru Ekkusu wrote: > I'm not using PulseAudio, so it's just ALSA to set up. Any way to set > the default soundcard, and not cause it to disable dmix? Don't redefine pcm.default. Put this into /etc/asound.conf or ~/.asoundrc: defaults.pcm.card PCH defaults.ctl.card PCH Regards, Clemens -

Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-02 Thread Paolo Bolzoni
This older thread might help you, Philip Rhoades had a similar problem. https://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg31403.html On Wed, Feb 3, 2016 at 5:16 AM, Andoru Ekkusu wrote: >> Run pavucontrol, and set the B85 as the default. >> >> Please note that PulseAudio saves the

Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-02 Thread Andoru Ekkusu
> Run pavucontrol, and set the B85 as the default. > > Please note that PulseAudio saves the last used card for each application. Thanks for the reply. I forgot to mention in the original message that I'm not using PulseAudio, so it's just ALSA to set up. Any way to set the default soundcard, and

Re: [Alsa-user] dmix/software mixing doesn't work

2016-02-02 Thread Clemens Ladisch
Andoru Ekkusu wrote: > So I've been trying to fix this problem for a while now, but I can't seem to > set up ALSA in a way to enable multiple sound sources at once (2 or more > apps/programs to use the soundcard simultaneously). Dmix is enabled by default. > pcm.!default { > type hw >

[Alsa-user] dmix/software mixing doesn't work

2016-02-01 Thread Andoru Ekkusu
So I've been trying to fix this problem for a while now, but I can't seem to set up ALSA in a way to enable multiple sound sources at once (2 or more apps/programs to use the soundcard simultaneously). Despite having a dmix entry in /etc/asound.conf, it still refuses to work the way I intend it to.

[Alsa-user] dmix+dsnoop on same device = shm problems

2015-09-30 Thread Valentin Ochs
Hi, I've suffered a harddrive failure and am having to reconfigure parts I deemed too uncritical to back up, including my asoundrc (that'll teach me). The first part of that was getting dmix+dsnoop working on my soundcard, so I'm starting with this: pcm.!default { type plug slave { pcm "hwm"

Re: [Alsa-user] Dmix plugin on raspberry pi & WM8731 DAC

2014-05-14 Thread Clemens Ladisch
Jakob Hansen wrote: > So the following is from Wolfson's own webpage for the wm8731: > "Digital audio input word lengths from 16-32 bits and sampling rates > from 8kHz to 96kHz are supported. " > But, > > Card 1, ID `sndrpiproto', name `snd_rpi_proto' > Device 0, ID `WM8731 HiFi wm8731-hifi-0', n

Re: [Alsa-user] Dmix plugin on raspberry pi & WM8731 DAC

2014-05-14 Thread Clemens Ladisch
Jakob Hansen wrote: > I have noticed a distinct degradation in audio quality when using the > Master Playback volume control in amixer. Is this an artifact of > truncation being done in the hardware Maybe; this happens if you attenuate 16-bit samples too much. Is that mixer control implemented in

[Alsa-user] Dmix plugin on raspberry pi & WM8731 DAC

2014-05-13 Thread Jakob Hansen
Hello, I am running raspbian with alsalib version 1.0.25 and driver version k3.8.10+. The kernel is compiled according to the instructions here: http://blog.koalo.de/2013/05/i2s-support-for-raspberry-pi.html. Since the wm8731 does not support hardware mixing, I am using the dmix plugin, but I have

Re: [Alsa-user] Dmix plugin fixed period size?

2012-01-16 Thread Clemens Ladisch
Kevin Locke wrote: > I'm curious if the Dmix plugin has a fixed period size All programs using a dmix device must share a common period size, so the dmix plugin chooses one before the first client is opened. It's possible to configure this value: http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_

[Alsa-user] Dmix plugin fixed period size?

2011-12-30 Thread Kevin Locke
Hello All, I'm curious if the Dmix plugin has a fixed period size and, if so, how to deal with that. I'm a bit of an ALSA newbie, so please forgive any confused assumptions in the question. Here's the symptoms I am seeing and the problem I am trying to get at: While investigating some audio stu

Re: [Alsa-user] dmix problem on PXA270 + AC97 codec

2011-10-22 Thread Cliff Brake
One other note: aplay -D plug:dmix through a USB sound card does appear to work. There is some hiss at the end, but I do at least hear sound. Thanks, Cliff On Sat, Oct 22, 2011 at 11:47 PM, Cliff Brake wrote: > Hello, > > I have an embedded system that contains: > > - PXA270 ARM cpu > - UCB1400

[Alsa-user] dmix problem on PXA270 + AC97 codec

2011-10-22 Thread Cliff Brake
Hello, I have an embedded system that contains: - PXA270 ARM cpu - UCB1400 AC97 codec - ALSA (libasound) 1.0.24 - 3.0 kernel When I run aplay , it works fine. When I run -D plug:dmix , it appears to be playing (don't see any error messages, runs for expected amount of time), but I hear silence

Re: [Alsa-user] dmix - unable to open slave

2011-10-14 Thread Nenad Sljivic
Anybody ??? -Original Message- From: Nenad Sljivic [mailto:nenad.slji...@rt-rk.com] Sent: 07 October 2011 18:51 To: 'alsa-user@lists.sourceforge.net' Subject: dmix - unable to open slave Hi, I am trying to enable a software mixer on an MIPS based embedded target board using alsa-lib v

[Alsa-user] dmix - unable to open slave

2011-10-07 Thread Nenad Sljivic
Hi, I am trying to enable a software mixer on an MIPS based embedded target board using alsa-lib v1.0.23. When I try to play two audio files using these commands: #aplay -vDplug:dmix song1.wav & #aplay -vDplug:dmix song2.wav" mixing works fine. For some strange reason when I try the same thin

[Alsa-user] dmix - unable to open slave

2011-10-07 Thread Nenad Sljivic
Hi, I am trying to enable a software mixer on an MIPS based embedded target board using alsa-lib v1.0.23. When I try to play two audio files using these commands: #aplay -vDplug:dmix song1.wav & #aplay -vDplug:dmix song2.wav" mixing works fine. For some strange reason when I try the same th

Re: [Alsa-user] dmix problems with analog out (HDMI out works fine with dmix)

2011-09-29 Thread Robert Krakora
On Thu, Sep 29, 2011 at 8:43 AM, Robert Krakora < rob.krak...@messagenetsystems.com> wrote: > > > On Thu, Sep 29, 2011 at 8:32 AM, Takashi Iwai wrote: > >> At Thu, 29 Sep 2011 08:22:39 -0400, >> Robert Krakora wrote: >> > >> > On Thu, Sep 29, 2011 at 2:36 AM, Takashi Iwai wrote: >> > >> > > At W

Re: [Alsa-user] dmix problems with analog out (HDMI out works fine with dmix)

2011-09-29 Thread Takashi Iwai
At Thu, 29 Sep 2011 08:43:32 -0400, Robert Krakora wrote: > > On Thu, Sep 29, 2011 at 8:32 AM, Takashi Iwai wrote: > > > At Thu, 29 Sep 2011 08:22:39 -0400, > > Robert Krakora wrote: > > > > > > On Thu, Sep 29, 2011 at 2:36 AM, Takashi Iwai wrote: > > > > > > > At Wed, 28 Sep 2011 12:29:05 -040

Re: [Alsa-user] dmix problems with analog out (HDMI out works fine with dmix)

2011-09-29 Thread Robert Krakora
On Thu, Sep 29, 2011 at 8:32 AM, Takashi Iwai wrote: > At Thu, 29 Sep 2011 08:22:39 -0400, > Robert Krakora wrote: > > > > On Thu, Sep 29, 2011 at 2:36 AM, Takashi Iwai wrote: > > > > > At Wed, 28 Sep 2011 12:29:05 -0400, > > > Robert Krakora wrote: > > > > > > > > Hi All, > > > > > > > > I am u

Re: [Alsa-user] dmix problems with analog out (HDMI out works fine with dmix)

2011-09-29 Thread Takashi Iwai
At Thu, 29 Sep 2011 08:22:39 -0400, Robert Krakora wrote: > > On Thu, Sep 29, 2011 at 2:36 AM, Takashi Iwai wrote: > > > At Wed, 28 Sep 2011 12:29:05 -0400, > > Robert Krakora wrote: > > > > > > Hi All, > > > > > > I am using ALSA 1.0.24 with the attached asound.conf. I am attempting to > > > s

Re: [Alsa-user] dmix problems with analog out (HDMI out works fine with dmix)

2011-09-29 Thread Robert Krakora
On Thu, Sep 29, 2011 at 8:22 AM, Robert Krakora < rob.krak...@messagenetsystems.com> wrote: > On Thu, Sep 29, 2011 at 2:36 AM, Takashi Iwai wrote: > >> At Wed, 28 Sep 2011 12:29:05 -0400, >> Robert Krakora wrote: >> > >> > Hi All, >> > >> > I am using ALSA 1.0.24 with the attached asound.conf. I

Re: [Alsa-user] dmix problems with analog out (HDMI out works fine with dmix)

2011-09-29 Thread Robert Krakora
On Thu, Sep 29, 2011 at 2:36 AM, Takashi Iwai wrote: > At Wed, 28 Sep 2011 12:29:05 -0400, > Robert Krakora wrote: > > > > Hi All, > > > > I am using ALSA 1.0.24 with the attached asound.conf. I am attempting to > > share (mix) the analog output between Asterisk and aplay. However, when > > Ast

Re: [Alsa-user] dmix problems with analog out (HDMI out works fine with dmix)

2011-09-28 Thread Takashi Iwai
At Wed, 28 Sep 2011 12:29:05 -0400, Robert Krakora wrote: > > Hi All, > > I am using ALSA 1.0.24 with the attached asound.conf. I am attempting to > share (mix) the analog output between Asterisk and aplay. However, when > Asterisk is running, my application throws an error when attempting to p

Re: [Alsa-user] dmix works but aliased dmixer does not

2011-03-23 Thread m27315
I banged my head on this some more and solved most of my problem.  The issues were: My sound card (Echo Audio Mia) needs device and subdevice specification (ex, hw:0,0,0) The first device seems to always be consumed by some unknown app.  (BTW, how ca

Re: [Alsa-user] dmix works but aliased dmixer does not

2011-03-23 Thread m27315
I banged my head on this some more and solved most of my problem.  The issues were: My sound card (Echo Audio Mia) needs device and subdevice specification (ex, hw:0,0,0) The first device seems to always be consumed by some unknown app.  (BTW, how ca

[Alsa-user] dmix plugin can be only connected to hw plugin?

2010-11-29 Thread Kim Therkelsen
Hi, It is really still true that you cannot put anything (like a ladspa plugin) after dmix? I also asked the question here: https://bbs.archlinux.org/viewtopic.php?pid=859465#p859465 Scrap about this: http://alsa.opensrc.org/index.php/Talk:Dmix Isn't there a workaround? Like making a fake sw

Re: [Alsa-user] dmix oddities

2009-06-18 Thread Clemens Ladisch
Grant wrote: > > Are you sure the hardware actually supports S24_3LE? Most 24 bit > > soundcards require 24 bit audio to be packed into 32 bit words. See > > if you can output S24_3LE directly to the hw device. > > I don't think a USB DAC could do 24-in-32 because of the USB 24-bit > limitation

Re: [Alsa-user] dmix oddities

2009-06-17 Thread Grant
>> When I play 16/44.1 flac files via mpd, the CPU stays around 95%. >> When I play the same files via mplayer, the CPU stays around 2% and I >> see: >> >> AO: [alsa] 96000Hz 2ch s16le (2 bytes per channel) >> >> This is confusing for 2 reasons: >> >> 1. Doesn't the above indicate that the source f

Re: [Alsa-user] dmix oddities

2009-06-16 Thread Lee Revell
On Tue, Jun 16, 2009 at 1:31 PM, Grant wrote: > When I play 16/44.1 flac files via mpd, the CPU stays around 95%. > When I play the same files via mplayer, the CPU stays around 2% and I > see: > > AO: [alsa] 96000Hz 2ch s16le (2 bytes per channel) > > This is confusing for 2 reasons: > > 1. Doesn't

[Alsa-user] dmix oddities

2009-06-16 Thread Grant
I'm trying to use the following to upsample everything to 24/96 via samplerate_best: defaults.pcm.rate_converter "samplerate_best" pcm.!default { type plug slave.pcm { type dmix ipc_key 1024 slave { pcm "hw:0,0" format S24_3LE rate 96000 } } } When I play 16/44.1 flac files via mpd, the CPU stays

[Alsa-user] Dmix (or similar) for flash?

2008-12-12 Thread Thomas Röhm
Hello, I´m new to the list and I hope somebody can help me I´d like to output several instances (I have a 8-channel soundcard) of flash based streaming. Actually I´m running 8 instances of mplayer at the same time in a loop (automatic reconnect) for windows, real or winamp streaming formats.

[Alsa-user] Dmix plugin using "ipc_key_add_uid"

2008-10-29 Thread Stevens, Peter
I'm setting up ALSA to allow for multiple non root users to similtanously access audio (meaning I'm using dmix). I've been doing some reading and it seems I need to do the following. 1) "ipc_perms" to "0666" (or similar to allow non root access) 2) "ipc_key_add_uid" to "false" 3) "chmod" the f

[Alsa-user] dmix in a forked process

2008-08-01 Thread Bankim Bhavsar
Reading the source alsa-lib I see that dmix runs in a forked process *without* exec. file: src/pcm/pcm_direct.c function: snd_pcm_direct_server_create ret = fork(); if (ret < 0) { close(dmix->server_fd); return ret; } else if (ret == 0) {

Re: [Alsa-user] dmix and mic

2008-06-02 Thread Helge Fredriksen
Isn't this a problem with how these apps have programmed sound? If the apps are using the hw:0,0 directly and not using plughw (if such a device exist), then it will block the other apps from using it Just my to cents. Best regards, Helge Fredriksen On Sat, May 31, 2008 at 4:04 AM, Alejandro

Re: [Alsa-user] dmix and mic

2008-05-30 Thread Alejandro Benitez
[EMAIL PROTECTED]:~$ lsof /dev/snd/* /dev/dsp COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME firefox 11393 john memCHR 116,16 11250 /dev/snd/pcmC0D0p firefox 11393 john 72u CHR 116,16 11250 /dev/snd/pcmC0D0p [EMAIL PROTECTED]:~$ On Fri, May 30, 2008 at 10:26 PM, Lee Reve

Re: [Alsa-user] dmix and mic

2008-05-30 Thread Lee Revell
On Fri, May 30, 2008 at 9:16 PM, Alejandro Benitez <[EMAIL PROTECTED]> wrote: > Flash Player 9. > Rhythmbox has no sound options. > Skype has no ALSA option. Just "Default device", "Cirrus Logic CS4281 > (hw:CS4281,0)", "Cirrus Logic CS4281 (plughw:CS4281,0)". > OK. After opening a few Youtube vi

Re: [Alsa-user] dmix and mic

2008-05-30 Thread Alejandro Benitez
Flash Player 9. Rhythmbox has no sound options. Skype has no ALSA option. Just "Default device", "Cirrus Logic CS4281 (hw:CS4281,0)", "Cirrus Logic CS4281 (plughw:CS4281,0)". On Fri, May 30, 2008 at 9:52 PM, Lee Revell <[EMAIL PROTECTED]> wrote: > On Fri, May 30, 2008 at 8:28 PM, Alejandro Benitez

Re: [Alsa-user] dmix and mic

2008-05-30 Thread Lee Revell
On Fri, May 30, 2008 at 8:28 PM, Alejandro Benitez <[EMAIL PROTECTED]> wrote: > Hi, > > If I remove .asoundrc, after I open a Youtube video in Firefox (I can > open two videos and sound works OK), for instance... Skype, Rhythmbox > sound breaks. I also get > > "Could not open audio device for play

Re: [Alsa-user] dmix and mic

2008-05-30 Thread Alejandro Benitez
Hi, If I remove .asoundrc, after I open a Youtube video in Firefox (I can open two videos and sound works OK), for instance... Skype, Rhythmbox sound breaks. I also get "Could not open audio device for playback. Device is being used by another application" in sound tests panel found in System -

Re: [Alsa-user] dmix and mic

2008-05-28 Thread Lee Revell
On Wed, May 28, 2008 at 9:45 PM, Alejandro Benitez <[EMAIL PROTECTED]> wrote: > I'm running Ubuntu 8.04. > So there must be a problem with this distro because I need an > .asoundrc, otherwise things work (badly) as described in my first > post. What exactly happens if you remove the .asoundrc? Wh

Re: [Alsa-user] dmix and mic

2008-05-28 Thread Alejandro Benitez
I'm running Ubuntu 8.04. So there must be a problem with this distro because I need an .asoundrc, otherwise things work (badly) as described in my first post. On Wed, May 28, 2008 at 9:48 PM, Lee Revell <[EMAIL PROTECTED]> wrote: > On Mon, May 26, 2008 at 6:02 PM, klondike <[EMAIL PROTECTED]> wrot

Re: [Alsa-user] dmix and mic

2008-05-28 Thread Lee Revell
On Mon, May 26, 2008 at 6:02 PM, klondike <[EMAIL PROTECTED]> wrote: > I use to talk on this on my speeches, you just lack an asym pcm with > can join the microphone with the dmixed output. This conf also adds > dsnoop so varios aplications can read data from the same microphone at > the same time

[Alsa-user] Dmix usage

2008-02-15 Thread Alexandre BOUIN
Hi alsa-user list, I've just configured dmix on our internal project. It's working fine, without pops. In the /etc/asound.conf config file, slave rate is set to 44100Hz. It works also for 48000Hz. But is there anyway to tell dmix to use one of these frequencies depending on the first pcm played ?

[Alsa-user] dmix with digital output? / Didn't buy bose :)

2007-10-09 Thread Uli
Hiho, I'm using a digital receiver with an Audigy SE card and in-kernel alsa 2.6.22 on gentoo. Surprisingly I had no problems setting up digital output and ac3 passthrough (simply using iec958). I can't change the volume, but I guess that's normal. I'd really like to use dmix as well but when I

Re: [Alsa-user] dmix and surround devices

2007-09-20 Thread Lee Revell
On 9/20/07, Panayiotis <[EMAIL PROTECTED]> wrote: > Hi! > I am using ALSA 1.0.13. My default sound card is CA0106. I thought that > dmix was supposed to be enabled by default for all devices: > > From http://alsa.opensrc.org/index.php/Dmix : > >NOTE: For ALSA 1.0.9rc2 and higher you don't need to

[Alsa-user] dmix and surround devices

2007-09-20 Thread Panayiotis
Hi! I am using ALSA 1.0.13. My default sound card is CA0106. I thought that dmix was supposed to be enabled by default for all devices: From http://alsa.opensrc.org/index.php/Dmix : >NOTE: For ALSA 1.0.9rc2 and higher you don't need to setup dmix. Dmix is enabled as default for soundcards whic

[Alsa-user] dmix problems with surround devices

2007-09-05 Thread Christoph Anton Mitterer
Hi. I'm succesfully using a TerraTec Aureon 7.1 Universe but there are still some problems especially when playin multiple sounds together. I'm using Debian sid under GNOME (thus esd is mostly running and blocking (???) the alsa devices. I have connected a 7.1 speaker system. It seems that esd us

[Alsa-user] dmix problems with surround devices

2007-07-14 Thread Christoph Anton Mitterer
Hi. I'm succesfully using a TerraTec Aureon 7.1 Universe but there are still some problems especially when playin multiple sounds together. I'm using Debian sid under GNOME (thus esd is mostly running and blocking (???) the alsa devices. I have connected a 7.1 speaker system. It seems that esd us

Re: [Alsa-user] dmix not working for oss

2007-06-17 Thread Lee Revell
On 6/17/07, Carlos Pita <[EMAIL PROTECTED]> wrote: > No, I thought that aoss was a second choice, not complementary to emulation > by snd_*_oss modules, was I wrong? aoss is the only way to get dmix working for OSS apps. The reason is that snd_*_oss aka "in-kernel OSS emulation" is implemented in

Re: [Alsa-user] dmix not working for oss

2007-06-17 Thread Carlos Pita
No, I thought that aoss was a second choice, not complementary to emulation by snd_*_oss modules, was I wrong? Cheers, Carlos On 6/17/07, Lee Revell <[EMAIL PROTECTED]> wrote: On 6/17/07, Carlos Pita <[EMAIL PROTECTED]> wrote: > Sorry, it was an error when copy pasting to the email. The real .a

Re: [Alsa-user] dmix not working for oss

2007-06-17 Thread Lee Revell
On 6/17/07, Carlos Pita <[EMAIL PROTECTED]> wrote: > Sorry, it was an error when copy pasting to the email. The real .asoundrc is > as: > > pcm.dsp0 { >type plug >slave.pcm "dmix" > } > ctl.mixer0 { > type hw > card 0 > } You are running the OSS apps as "aoss some-oss-app" righ

Re: [Alsa-user] dmix not working for oss

2007-06-17 Thread Carlos Pita
Sorry, it was an error when copy pasting to the email. The real .asoundrc is as: pcm.dsp0 { type plug slave.pcm "dmix" } ctl.mixer0 { type hw card 0 } Cheers, Carlos On 6/17/07, Lee Revell <[EMAIL PROTECTED]> wrote: On 6/17/07, Carlos Pita <[EMAIL PROTECTED]> wrote: > Then, my .aso

Re: [Alsa-user] dmix not working for oss

2007-06-17 Thread Lee Revell
On 6/17/07, Carlos Pita <[EMAIL PROTECTED]> wrote: > Then, my .asoundrc configuration for > oss dmix is: > > pcm.dsp0 { > type plug > slave.pcm "hw:0" > } > > ctl.mixer0 { > type hw > card 0 > } This config does not mention dmix at all.. try changing slave.pcm to "dmix:0" Lee ---

[Alsa-user] dmix not working for oss

2007-06-17 Thread Carlos Pita
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" } ct

Re: [Alsa-user] dmix, unable to open slave

2007-03-22 Thread oxi
El Jueves, 22 de Marzo de 2007 16:35, Lee Revell escribió: > On 3/21/07, oxi <[EMAIL PROTECTED]> wrote: > > oxibox oxi # LC_ALL="C" aplay -D plug:dmix tm-2007-03-20T03\:32\:51.wav & > > [2] 10288 > > oxibox oxi # ALSA lib pcm_dmix.c:914:(snd_pcm_dmix_open) unable to open > > slave aplay: main:545:

Re: [Alsa-user] dmix, unable to open slave

2007-03-22 Thread Lee Revell
On 3/21/07, oxi <[EMAIL PROTECTED]> wrote: > oxibox oxi # LC_ALL="C" aplay -D plug:dmix tm-2007-03-20T03\:32\:51.wav & > [2] 10288 > oxibox oxi # ALSA lib pcm_dmix.c:914:(snd_pcm_dmix_open) unable to open slave > aplay: main:545: audio open error: Invalid argument Your .asoundrc will have no effec

[Alsa-user] dmix, unable to open slave

2007-03-21 Thread oxi
Hi, I've been trying to set up alsa with dmix to play several streams at once so I don't have to close a sound application when I want to use another, f.e. The problem is I get a dmix error all the time. I've been searching the alsa wiki and found a page where it's said that if you're getting t

[Alsa-user] dmix/hw timed failure/distortion

2006-10-05 Thread Lindsay Roberts
Hi, I've been trying a few methods with no success of late to allow long term use of alsa. I've tried two paths with two different problems. 1. dmix. This is the default under alsa-lib for this card, and this is using default ICH4.conf settings under alsa-lib. After around 20 hours (I have tried

[Alsa-user] dmix issues

2006-08-27 Thread Matthew Becker
Hi, I'm running alsa-utils version 1.0.8 with kernel 2.6.16 on my ipaq, which actually has a pretty decent sound card, the philips uda1380. Anyway, i've gotten full-duplex sound to work, arecord | aplay, but i'm trying to get the dmix plugin going. aplay works fine for either cd or dat q

Re: [Alsa-user] dmix device and mplayer

2006-08-03 Thread Clemens Ladisch
Nick Wright wrote: > Oh, mplayer is version 1.0-pre7 Update to 1.0pre8. HTH Clemens - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions

Re: [Alsa-user] dmix device and mplayer

2006-08-02 Thread Lee Revell
On Thu, 2006-08-03 at 12:25 +1200, Nick Wright wrote: > On Thu, Aug 03, 2006 at 05:33:52AM +1200, Nick Wright wrote: > > On Wed, Aug 02, 2006 at 02:03:22PM +0200, Clemens Ladisch wrote: > > > Nick Wright wrote: > > > > When using the dmix plugin to mix sounds for multiple apps, mplayer > > > > perf

Re: [Alsa-user] dmix device and mplayer

2006-08-02 Thread Nick Wright
On Thu, Aug 03, 2006 at 05:33:52AM +1200, Nick Wright wrote: > On Wed, Aug 02, 2006 at 02:03:22PM +0200, Clemens Ladisch wrote: > > Nick Wright wrote: > > > When using the dmix plugin to mix sounds for multiple apps, mplayer > > > performance is poor. > > > > Which version of alsa-lib and mplayer

Re: [Alsa-user] dmix device and mplayer

2006-08-02 Thread Nick Wright
On Wed, Aug 02, 2006 at 02:03:22PM +0200, Clemens Ladisch wrote: > Nick Wright wrote: > > When using the dmix plugin to mix sounds for multiple apps, mplayer > > performance is poor. > > Which version of alsa-lib and mplayer are you using? 1.0.8-3 too old? -

Re: [Alsa-user] dmix device and mplayer

2006-08-02 Thread Clemens Ladisch
Nick Wright wrote: > When using the dmix plugin to mix sounds for multiple apps, mplayer > performance is poor. Which version of alsa-lib and mplayer are you using? Regards, Clemens - Take Surveys. Earn Cash. Influence the

Re: [Alsa-user] dmix device and mplayer

2006-08-01 Thread Jukka Tastula
On Wednesday 02 August 2006 08:24, Nick Wright wrote: > Hi, > > When using the dmix plugin to mix sounds for multiple apps, mplayer > performance is poor. (video slows down and speeds up a few times a > second) > > > Has anyone else had the same problem? Yes. I have this problem but ONLY if I set

[Alsa-user] dmix device and mplayer

2006-08-01 Thread Nick Wright
Hi, When using the dmix plugin to mix sounds for multiple apps, mplayer performance is poor. (video slows down and speeds up a few times a second) This is due to tracking issues between the sound and the video -- mplayer is unable to get accurate delay info from the sound driver and so keeps thin

Re: [Alsa-user] dmix for ice1712 in ALSA 1.0.11

2006-07-08 Thread Borghart Steffen
Hi, still not working: alsa_setup(): Sample format not available for playback: Invalid argument any ideas? borghart On Sat, Jul 08, 2006 at 03:58:39PM +0200, Frank Barknecht wrote: > Hallo, > Borghart Steffen hat gesagt: // Borghart Steffen wrote: > > > I just upgraded from alsa 1.0.10 to 1.0.1

Re: [Alsa-user] dmix for ice1712 in ALSA 1.0.11

2006-07-08 Thread Frank Barknecht
Hallo, Borghart Steffen hat gesagt: // Borghart Steffen wrote: > I just upgraded from alsa 1.0.10 to 1.0.11. Now my Terratec ewx24/96 > soundcard is not working anymore. My old ~/.asoundrc looked like: > how must i change my ~/.asoundrc to get the card working again? Delete it, you don't need an

[Alsa-user] dmix for ice1712 in ALSA 1.0.11

2006-07-08 Thread Borghart Steffen
Hi, I just upgraded from alsa 1.0.10 to 1.0.11. Now my Terratec ewx24/96 soundcard is not working anymore. My old ~/.asoundrc looked like: pcm.!default { type plug slave.pcm "dmixer" } pcm.dmixer { type dmix ipc_key 1025 slave { pcm "hw:1,

Re: [Alsa-user] dmix diagnostics

2006-06-24 Thread Lee Revell
On Sat, 2006-06-24 at 12:09 -0400, Brian Keener wrote: > Anyway, the alsa soundcard matrix doesn't reflect my Yamaha YMF724 > having a hardware mixer. > > http://www.alsa-project.org/alsa-doc/index.php?vendor=vendor-Yamaha#matrix > Please file a bug report in the ALSA bug tracker. > Perhaps th

Re: [Alsa-user] dmix diagnostics

2006-06-24 Thread Brian Keener
On 6/24/06, Lee Revell <[EMAIL PROTECTED]> wrote: (added alsa-user back to the cc: - please don't email me privately fortech support)On Fri, 2006-06-23 at 23:41 -0400, Brian Keener wrote:>>> On 6/23/06, Lee Revell < [EMAIL PROTECTED]> wrote:> On Fri, 2006-06-23 at 18:13 -0400, akb>

Re: [Alsa-user] dmix diagnostics

2006-06-24 Thread Lee Revell
(added alsa-user back to the cc: - please don't email me privately for tech support) On Fri, 2006-06-23 at 23:41 -0400, Brian Keener wrote: > > > On 6/23/06, Lee Revell <[EMAIL PROTECTED]> wrote: > On Fri, 2006-06-23 at 18:13 -0400, akb > [EMAIL PROTECTED] wrote: > > >

Re: [Alsa-user] dmix diagnostics

2006-06-23 Thread Lee Revell
On Fri, 2006-06-23 at 18:13 -0400, [EMAIL PROTECTED] wrote: > > if I can issue two aplay's simultaneously, > and hear both sounds playing, > does that mean dmix is working correctly? > > system has cheap motherboard sound (nforce2), > and thus no hardware mixer. Yes. Lee Using Tomcat but ne

[Alsa-user] dmix diagnostics

2006-06-23 Thread akb+lists . alsa-user
if I can issue two aplay's simultaneously, and hear both sounds playing, does that mean dmix is working correctly? system has cheap motherboard sound (nforce2), and thus no hardware mixer. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with p

Re: [Alsa-user] Dmix on ICE1712 in 1.0.11?

2006-04-25 Thread Clemens Ladisch
Niels wrote: > the 1.0.11 changelog > http://www.alsa-project.org/changes/v1-0-10--v1-0-11.txt > > says: > - Make dmix/dsnoop as default for ICE1712 > > However, there's no mention of dmix in my /usr/share/alsa/cards/ICE1712.conf The current version of this file is

[Alsa-user] Dmix on ICE1712 in 1.0.11?

2006-04-24 Thread Niels
Hi, the 1.0.11 changelog http://www.alsa-project.org/changes/v1-0-10--v1-0-11.txt says: - Make dmix/dsnoop as default for ICE1712 However, there's no mention of dmix in my /usr/share/alsa/cards/ICE1712.conf Am I missing something here? The asound.conf that gave me dmix on 1.0.10 no longer work

Re: [Alsa-user] Dmix for ICE1712/1724 in ALSA 1.0.11-rc3

2006-03-22 Thread Thomas Kuther
On Tue, 21 Mar 2006 12:13:11 +0100 Thomas Kuther <[EMAIL PROTECTED]> wrote: > OK, I managed to "fix" the slow play of the ICE1712 card by > editing /usr/share/alsa/cards/ICE1712.conf: > > slave.pcm { > @func concat > strings [ "dmix:

Re: [Alsa-user] Dmix for ICE1712/1724 in ALSA 1.0.11-rc3

2006-03-21 Thread Thomas Kuther
On Mon, 20 Mar 2006 21:58:39 +0100 Thomas Kuther <[EMAIL PROTECTED]> wrote: > Hi People, > > upgrading to alsa-lib/-kernel/-etc.. 1.0.11-rc3 somehow confused my > soundcard setup. > I got: > 0 [M2496 ]: ICE1712 - M Audio Audiophile 24/96 > M Audio Audiophile 24/96

[Alsa-user] Dmix for ICE1712/1724 in ALSA 1.0.11-rc3

2006-03-20 Thread Thomas Kuther
Hi People, upgrading to alsa-lib/-kernel/-etc.. 1.0.11-rc3 somehow confused my soundcard setup. I got: 0 [M2496 ]: ICE1712 - M Audio Audiophile 24/96 M Audio Audiophile 24/96 at 0xd800, irq 5 1 [Juli ]: ICE1724 - ESI Juli@ ESI Juli@

Re: [Alsa-user] dmix plugin to get emi26 work with jack// SOLVED (only in parts though)

2006-02-25 Thread Lee Revell
On Thu, 2006-02-23 at 16:09 +, karlos wrote: > pcm.ossmix { > type dmix > ipc_key 1024 > slave { > pcm "hw:1,0" > period_time 0 > period_size 512 > buffer_size 4096 # buffer size < 6653, but pow(x, 2) > rate 44100 # we want to play CDs only >

[Alsa-user] dmix plugin to get emi26 work with jack// SOLVED (only in parts though)

2006-02-23 Thread karlos
OK. I took my chances and copied and pasted this into an .asoundrc and with a little tweaking, I got the emi26 to play sound nicely without the crackles! good. I would like to get the other 4 ouputs to work as well though. I tried to just add this to bindings: bindings { 0 0 1

[Alsa-user] dmix plugin to get emi26 work with jack

2006-02-23 Thread karlos
hello, I would like to get my emi26 work with jack (the problem is some endianess issue witht the card, periodic crackles in the sound, NOT xruns in this case). The card works perfectly with alsa and oss, but I need it together with jack for SuperCollider. How would it be possible to solve this en

Re: [Alsa-user] Dmix madness?

2006-02-07 Thread Ismail Donmez
Salı 7 Şubat 2006 12:26 tarihinde, Ismail Donmez şunları yazmıştı: > Salı 7 Şubat 2006 10:03 tarihinde, Jaroslav Kysela şunları yazmıştı: > > On Tue, 7 Feb 2006, Ismail Donmez wrote: > > > [EMAIL PROTECTED] ~ $ ls -1 /tmp/|grep alsa-dmix|wc -l > > > 39082 > > > > > > Alsa driver/lib/utils 1.0.11rc

Re: [Alsa-user] Dmix madness?

2006-02-07 Thread Ismail Donmez
Salı 7 Şubat 2006 10:03 tarihinde, Jaroslav Kysela şunları yazmıştı: > On Tue, 7 Feb 2006, Ismail Donmez wrote: > > [EMAIL PROTECTED] ~ $ ls -1 /tmp/|grep alsa-dmix|wc -l > > 39082 > > > > Alsa driver/lib/utils 1.0.11rc2 > > Could you trace the conditions when the files are left in /tmp directory?

Re: [Alsa-user] Dmix madness?

2006-02-07 Thread Jaroslav Kysela
On Tue, 7 Feb 2006, Ismail Donmez wrote: > [EMAIL PROTECTED] ~ $ ls -1 /tmp/|grep alsa-dmix|wc -l > 39082 > > Alsa driver/lib/utils 1.0.11rc2 Could you trace the conditions when the files are left in /tmp directory? It appears that something kills the resource daemon before it can cleanup thing

[Alsa-user] Dmix madness?

2006-02-06 Thread Ismail Donmez
[EMAIL PROTECTED] ~ $ ls -1 /tmp/|grep alsa-dmix|wc -l 39082 Alsa driver/lib/utils 1.0.11rc2 Any ideas? --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine

  1   2   >