[ALSA - lib 0001231]: Sharing soundcard via dmix does not work when mixing 32bit and 64bit applications.

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

 



The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1231> 
======================================================================
Reported By:                Tobias Diedrich
Assigned To:                
======================================================================
Project:                    ALSA - lib
Issue ID:                   1231
Category:                   0_general
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             07-04-2005 16:30 CEST
Last Modified:              07-09-2006 13:44 CEST
======================================================================
Summary:                    Sharing soundcard via dmix does not work when mixing
32bit and 64bit applications.
Description: 
I have configured a friends AMD64-System to use dmix by default.
I also made the same configuration for the 32bit-chroot and made sure
that
/tmp is a bind-mount, so the dmix-Socket is shared between 32bit and 64bit
applications.
However while sharing between one type of applications (either all 32bit
or all 64bit) works fine, mixed sharing doesn't work.  A strace shows that
the socket is opened by apparently communication fails.
I suspect that the structures passed by dmix have problems with differntly
sized fields between 32bit and 64bit.
======================================================================

----------------------------------------------------------------------
 tiwai - 07-08-05 12:00 
----------------------------------------------------------------------
Yes, it's incompatible between 32 and 64bits.  The struct shared in shmem
doesn't match.
snd_pcm_direct_share_t in pcm_direct.h defines the shared struct and the
size of snd_pcm_[su]frames_t is long, so it depends on architecture.
Also, we should be careful about alignment, too...

----------------------------------------------------------------------
 ikonst - 08-18-05 22:29 
----------------------------------------------------------------------
Same as bug 0001336 which I've filled and is indeed resolved in CVS (I've
just checked). Please mark as resolved.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
07-04-05 16:30 Tobias DiedrichNew Issue                                    
07-08-05 12:00 tiwai          Note Added: 0005412                          
08-18-05 22:29 ikonst         Note Added: 0005858                          
11-18-05 03:54 mr511          Issue Monitored: mr511                       
11-18-05 03:55 mr511          Issue End Monitor: mr511                     
07-09-06 13:44 Adrian Bunk    Status                   new => resolved     
07-09-06 13:44 Adrian Bunk    Resolution               open => fixed       
======================================================================




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux