Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-27 Thread AthlonRob
On Sun, 2003-09-21 at 10:06, AthlonRob wrote: > I was unable to get the plug plugin working with the dmix plugin. > Seperately, they both worked (although the dmix only with very few WAV > files) but together, they didn't work at all. They acted like the > PCM was busy all the time, whenever

Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-21 Thread AthlonRob
On Sat, 2003-09-20 at 04:07, Clemens Ladisch wrote: > AthlonRob wrote: > > On Wed, 2003-09-17 at 11:52, Takashi Iwai wrote: > > > > > is it through the rate plugin? > > > there was a bug about rate plugin together with dmix, which was fixed > > > recently on cvs. > > > > Is the 'rate' plugin == the

Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-21 Thread Jaroslav Kysela
On Sat, 20 Sep 2003, Clemens Ladisch wrote: > AthlonRob wrote: > > On Wed, 2003-09-17 at 11:52, Takashi Iwai wrote: > > > > > is it through the rate plugin? > > > there was a bug about rate plugin together with dmix, which was fixed > > > recently on cvs. > > > > Is the 'rate' plugin == the 'plug'

Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-20 Thread Clemens Ladisch
AthlonRob wrote: > On Wed, 2003-09-17 at 11:52, Takashi Iwai wrote: > > > is it through the rate plugin? > > there was a bug about rate plugin together with dmix, which was fixed > > recently on cvs. > > Is the 'rate' plugin == the 'plug' plugin? No. Yes. ;-) Well, the "plug" plugin uses the sam

Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-19 Thread AthlonRob
On Wed, 2003-09-17 at 11:52, Takashi Iwai wrote: > is it through the rate plugin? > there was a bug about rate plugin together with dmix, which was fixed > recently on cvs. Is the 'rate' plugin == the 'plug' plugin? Or, does this bug which was just fixed happen when using 'plug' as well as 'rate

Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-18 Thread Jaroslav Kysela
On Thu, 18 Sep 2003, James Courtier-Dutton wrote: > You are correct, my application does in fact get correct "delay" values, > but the /proc/asound/card0/pcm0p/sub0/status does not show these when > using dmix. > > The sound output from my application is very broken up when using > "dmix", but sou

Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-18 Thread James Courtier-Dutton
Jaroslav Kysela wrote: I'm asking again, what is your problem in your application? Yes, avail in driver is negative, because appl_ptr is NOT updated from the dmix clients (and it is not possible - it is a shared thing), but the dmix plugin should pass the right value (non-negative) to application

Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-18 Thread Paul Davis
>The problem is that my application relies on a correct "delay" value, so >that it can use it to keep sound/video in sync. although i think that the dmix plugin should work correctly, i would be suprised, no, lets just say pleasantly suprised, if you could get perfect sound/video sync using it. o

Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-18 Thread Jaroslav Kysela
On Thu, 18 Sep 2003, Paul Davis wrote: > >The problem is that my application relies on a correct "delay" value, so > >that it can use it to keep sound/video in sync. > > although i think that the dmix plugin should work correctly, i would > be suprised, no, lets just say pleasantly suprised, if yo

Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-18 Thread Jaroslav Kysela
On Thu, 18 Sep 2003, James Courtier-Dutton wrote: > Jaroslav Kysela wrote: > > On Wed, 17 Sep 2003, James Courtier-Dutton wrote: > > > > > >>Output from sending stereo sound to the "dmix" device. > >>bash-2.05b# cat status > >>state: RUNNING > >>trigger_time: 1063822024.640173000 > >>tstamp :

Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-18 Thread James Courtier-Dutton
Jaroslav Kysela wrote: On Wed, 17 Sep 2003, James Courtier-Dutton wrote: Output from sending stereo sound to the "dmix" device. bash-2.05b# cat status state: RUNNING trigger_time: 1063822024.640173000 tstamp : 1063822060.456968000 delay : -1719463 avail : 1731463 avail_max : 17

Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-18 Thread Jaroslav Kysela
On Wed, 17 Sep 2003, James Courtier-Dutton wrote: > Output from sending stereo sound to the "dmix" device. > bash-2.05b# cat status > state: RUNNING > trigger_time: 1063822024.640173000 > tstamp : 1063822060.456968000 > delay : -1719463 > avail : 1731463 > avail_max : 1731463 >

Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-18 Thread Takashi Iwai
At Wed, 17 Sep 2003 21:46:52 +0100, James Courtier-Dutton wrote: > > Takashi Iwai wrote: > > At Wed, 17 Sep 2003 20:01:36 +0100, > > James Courtier-Dutton wrote: > > > >>Takashi Iwai wrote: > >> > >>>At Wed, 17 Sep 2003 19:33:29 +0100, > >>>James Courtier-Dutton wrote: > >>> > >>> > Output fr

Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-17 Thread James Courtier-Dutton
Takashi Iwai wrote: At Wed, 17 Sep 2003 20:01:36 +0100, James Courtier-Dutton wrote: Takashi Iwai wrote: At Wed, 17 Sep 2003 19:33:29 +0100, James Courtier-Dutton wrote: Output from sending stereo sound to the "dmix" device. bash-2.05b# cat status state: RUNNING trigger_time: 1063822024.640173000

Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-17 Thread Takashi Iwai
At Wed, 17 Sep 2003 20:01:36 +0100, James Courtier-Dutton wrote: > > Takashi Iwai wrote: > > At Wed, 17 Sep 2003 19:33:29 +0100, > > James Courtier-Dutton wrote: > > > >>Output from sending stereo sound to the "dmix" device. > >>bash-2.05b# cat status > >>state: RUNNING > >>trigger_time: 10638220

Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-17 Thread James Courtier-Dutton
Takashi Iwai wrote: At Wed, 17 Sep 2003 19:33:29 +0100, James Courtier-Dutton wrote: Output from sending stereo sound to the "dmix" device. bash-2.05b# cat status state: RUNNING trigger_time: 1063822024.640173000 tstamp : 1063822060.456968000 delay : -1719463 avail : 1731463 avail_

Re: [Alsa-devel] status pointer's problem with dmix.

2003-09-17 Thread Takashi Iwai
At Wed, 17 Sep 2003 19:33:29 +0100, James Courtier-Dutton wrote: > > Output from sending stereo sound to the "dmix" device. > bash-2.05b# cat status > state: RUNNING > trigger_time: 1063822024.640173000 > tstamp : 1063822060.456968000 > delay : -1719463 > avail : 1731463 > avail_m

[Alsa-devel] status pointer's problem with dmix.

2003-09-17 Thread James Courtier-Dutton
Output from sending stereo sound to the "dmix" device. bash-2.05b# cat status state: RUNNING trigger_time: 1063822024.640173000 tstamp : 1063822060.456968000 delay : -1719463 avail : 1731463 avail_max : 1731463 - hw_ptr : 1719463 appl_ptr: 0 bash-2.05b# Output from s