Bug 122584 - fix devel/pwlib to allow multiple apps to access sound in parallel
Summary: fix devel/pwlib to allow multiple apps to access sound in parallel
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rong-En Fan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-08 19:40 UTC by Steve Ames
Modified: 2009-01-04 08:37 UTC (History)
0 users

See Also:


Attachments
file.diff (1.82 KB, patch)
2008-04-08 19:40 UTC, Steve Ames
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Ames 2008-04-08 19:40:04 UTC
	This patch allows Ekiga and KDE apps use sound in parallel without conflict.

Fix: Apply following patch:

	http://steve.energistic.com/h323-ports/pwlib-1.12.0.2.patch

How-To-Repeat: 	Per the submitter (Matthias Apitz (matthias.apitz AT oclc.org)):

	The art of pick-up the filename of the audio device conflicts with other
	applications of the desktop using the (virtual) audio channels; the
	filename should just be "/dev/dsp0" for FreeBSD and the rest is handled
	via the devfs(5) file system; a patch like the below works for me fine
	and Ekiga plays sound parallel to the apps of KDE.

	This change has already been imported into the pwlib codebase.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-04-08 21:40:45 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-ports-bugs
Comment 2 Rong-En Fan freebsd_committer freebsd_triage 2008-04-13 10:16:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rafan

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-04-13 13:44:09 UTC
rafan       2008-04-13 12:43:55 UTC

  FreeBSD ports repository

  Modified files:
    devel/pwlib          Makefile 
    devel/pwlib/files    patch-plugins-sound_oss-sound_oss_cxx 
  Log:
  - Allow multiple apps to access sound device in parallel
  - Bump PORTREVISION
  
  PR:             ports/122584
  Submitted by:   Steve Ames <steve at energistic.com> (maintainer)
  
  Revision  Changes    Path
  1.46      +1 -1      ports/devel/pwlib/Makefile
  1.2       +19 -3     ports/devel/pwlib/files/patch-plugins-sound_oss-sound_oss_cxx
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Rong-En Fan freebsd_committer freebsd_triage 2008-04-13 13:50:24 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 5 Piet Delport 2008-06-20 17:24:28 UTC
Note:  This patch breaks the use of more than one audio device, by
hardcoding the devname to "dsp0".

I use Ekiga with input from dsp0 and output to dsp1, and have to
recompile without this patch to avoid everything going to dsp0.
Comment 6 Rong-En Fan freebsd_committer freebsd_triage 2008-06-21 08:01:52 UTC
State Changed
From-To: closed->open

reopen it. From sound(4) it seems that we should just use 'dsp' instead of 
'dsp0' when using devfs. Can anyone please test this? Thanks!
Comment 7 Piet Delport 2008-06-24 01:04:37 UTC
On Fri, Jun 20, 2008 at 7:00 PM, Steve Ames <steve@energistic.com> wrote:
>
> Hrm. this patch fixes some other issues. Do you have a patch for getting
> your situation to work that doesn't undo the results of this patch?

No, but i presume the solution would be to truncate the devname, so
that "dsp0.0" -> "dsp0", "dsp1.0" -> "dsp1", and so on?
Comment 8 Rong-En Fan freebsd_committer freebsd_triage 2008-07-18 15:35:08 UTC
State Changed
From-To: open->feedback

Can someone please test if  

http://people.freebsd.org/~rafan/pwlib.diff 

works or not?
Comment 9 Rong-En Fan freebsd_committer freebsd_triage 2008-08-09 13:55:10 UTC
State Changed
From-To: feedback->suspended

unless someone can test the patch, not much I can do here.
Comment 10 Rong-En Fan freebsd_committer freebsd_triage 2009-01-04 08:37:13 UTC
State Changed
From-To: suspended->closed

Close this PR per last comment.