Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre Ossman <ossman@cendio.se>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, mzcbylcnhqvb@0pointer.de
Subject: Re: [RFC][PATCH] Transparent network support through polypaudio
Date: Wed, 22 Feb 2006 10:48:36 +0100	[thread overview]
Message-ID: <43FC3374.2030701@cendio.se> (raw)
In-Reply-To: <s5hfymck6k3.wl%tiwai@suse.de>

[-- Attachment #1: Type: text/plain, Size: 989 bytes --]

Takashi Iwai wrote:
> At Tue, 21 Feb 2006 17:38:37 +0100,
> Pierre Ossman wrote:
>>
>> In case you missed it, I also opened a bug for the issue (I wasn't sure 
>> how your work flow is so I tried all venues ;)). The bug also contains 
>> an update not posted on the list:
>>
>> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1852
>>
>> I can generate a diff for you once the anon CVS is updated.
> 
> Yes, that'll be helpful.
> 
> I have currently very little time to look at ALSA MLs and BTS, so
> please add me to Cc at the next update.
> 
> 

It seems your BTS cannot add cc:s, so I'll send you the diff here.

There shouldn't be any more API changes until polypaudio 0.8 that affect 
this plugin. I am working on supporting capture volume and mute 
switches, but that should be a strict addition (i.e. it can wait until 
the next release if things get tight).

-- 
Pierre Ossman                Telephone: +46-13-21 46 00
Cendio AB                    Web: http://www.cendio.com

[-- Attachment #2: polyp-update.patch --]
[-- Type: text/x-patch, Size: 2639 bytes --]

? alsa-plugins-1.0.10.tar.bz2
? alsa-plugins-1.0.10.tar.gz
? polyp-update.patch
Index: configure.in
===================================================================
RCS file: /cvsroot/alsa/alsa-plugins/configure.in,v
retrieving revision 1.13
diff -u -r1.13 configure.in
--- configure.in	21 Feb 2006 16:13:57 -0000	1.13
+++ configure.in	22 Feb 2006 09:44:47 -0000
@@ -15,7 +15,7 @@
 PKG_CHECK_MODULES(JACK, jack >= 0.98, [HAVE_JACK=yes], [HAVE_JACK=no])
 AM_CONDITIONAL(HAVE_JACK, test x$HAVE_JACK = xyes)
 
-PKG_CHECK_MODULES(polypaudio, [polyplib polyplib-mainloop], [HAVE_POLYP=yes], [HAVE_POLYP=no])
+PKG_CHECK_MODULES(polypaudio, [polyplib], [HAVE_POLYP=yes], [HAVE_POLYP=no])
 AM_CONDITIONAL(HAVE_POLYP, test x$HAVE_POLYP = xyes)
 
 SAVE_PLUGINS_VERSION
Index: polyp/pcm_polyp.c
===================================================================
RCS file: /cvsroot/alsa/alsa-plugins/polyp/pcm_polyp.c,v
retrieving revision 1.1
diff -u -r1.1 pcm_polyp.c
--- polyp/pcm_polyp.c	21 Feb 2006 16:14:00 -0000	1.1
+++ polyp/pcm_polyp.c	22 Feb 2006 09:44:47 -0000
@@ -210,7 +210,7 @@
 
 	buf = (char *)areas->addr + (areas->first + areas->step * offset) / 8;
 
-    pa_stream_write(pcm->stream, buf, size * pcm->frame_size, NULL, 0);
+    pa_stream_write(pcm->stream, buf, size * pcm->frame_size, NULL, 0, 0);
 
     /* Make sure the buffer pointer is in sync */
     update_ptr(pcm);
@@ -245,7 +245,7 @@
 
 	dst_buf = (char *)areas->addr + (areas->first + areas->step * offset) / 8;
     while (remain_size > 0) {
-        pa_stream_peek(pcm->stream, (void**)&src_buf, &frag_length);
+        pa_stream_peek(pcm->stream, (const void**)&src_buf, &frag_length);
         if (frag_length == 0)
             break;
 
@@ -352,7 +352,7 @@
     assert(pcm->stream);
 
     if (io->stream == SND_PCM_STREAM_PLAYBACK)
-        pa_stream_connect_playback(pcm->stream, pcm->device, &pcm->buffer_attr, 0, NULL);
+        pa_stream_connect_playback(pcm->stream, pcm->device, &pcm->buffer_attr, 0, NULL, NULL);
     else
         pa_stream_connect_record(pcm->stream, pcm->device, &pcm->buffer_attr, 0);
 
Index: polyp/polyp.c
===================================================================
RCS file: /cvsroot/alsa/alsa-plugins/polyp/polyp.c,v
retrieving revision 1.1
diff -u -r1.1 polyp.c
--- polyp/polyp.c	21 Feb 2006 16:14:00 -0000	1.1
+++ polyp/polyp.c	22 Feb 2006 09:44:47 -0000
@@ -234,7 +234,7 @@
 
     assert(p && p->context && p->mainloop && (p->state == POLYP_STATE_INIT));
 
-    err = pa_context_connect(p->context, server, 1, NULL);
+    err = pa_context_connect(p->context, server, 0, NULL);
     if (err < 0)
         goto error;
 

  reply	other threads:[~2006-02-22  9:48 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-13 14:53 [RFC][PATCH] Transparent network support through polypaudio Pierre Ossman
2006-02-14  9:47 ` Clemens Ladisch
2006-02-14 10:35   ` Pierre Ossman
2006-02-14 14:35     ` Clemens Ladisch
2006-02-14 15:48       ` Pierre Ossman
2006-02-14 20:24   ` latency issue with mplayer ALSA plugin Thierry Vignaud
2006-02-15  9:30     ` Clemens Ladisch
2006-03-01  4:09   ` [RFC][PATCH] Transparent network support through polypaudio Lee Revell
2006-03-01  8:32     ` Clemens Ladisch
2006-03-01 17:00       ` Lee Revell
2006-03-07 14:01   ` Pierre Ossman
2006-02-15  9:44 ` Pierre Ossman
2006-02-17 19:05 ` Pierre Ossman
2006-02-21 16:15   ` Takashi Iwai
2006-02-21 16:38     ` Pierre Ossman
2006-02-21 16:41       ` Takashi Iwai
2006-02-22  9:48         ` Pierre Ossman [this message]
2006-02-22 15:41           ` Takashi Iwai
2006-02-23 13:02             ` Pierre Ossman
2006-02-23 14:34               ` Takashi Iwai
2006-02-24 13:22                 ` Pierre Ossman
2006-02-24 13:57                   ` Takashi Iwai
2006-02-24 14:03                     ` Pierre Ossman
2006-02-27  8:09                 ` Pierre Ossman
2006-02-27 19:22                   ` Takashi Iwai
2006-02-28  8:11                     ` Pierre Ossman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43FC3374.2030701@cendio.se \
    --to=ossman@cendio.se \
    --cc=alsa-devel@alsa-project.org \
    --cc=mzcbylcnhqvb@0pointer.de \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox