[ltp] mplayer & sound

Gustavo Halperin linux-thinkpad@linux-thinkpad.org
Wed, 31 Dec 2003 21:14:11 +0200


André Wyrwa wrote:

>>>This doesn't work, even like root. But I think that it is doesn't needed 
>>>because 'nas' is
>>>transparent to the users. I define two variable in the file 
>>>'.bash_profile':
>>>        AUDIOSERVER=tcp/localhost:8000
>>>        LD_PRELOAD=/usr/lib/audiooss/libaudiooss.so
>>>(obvious export theme from the file: export AUDIOSERVER LD_PRELOAD)
>>>and then use the /dev/dsp like always without take care any more about 
>>>'nas'.
>>>  You agree ??.
>>>      
>>>
>
>Ok, realized that libaudiooss is supposed to do what you are describing.
>
>I guess the problem is with this then. Did you verify that xmms really
>uses nas?
>  
>
 I can run many xmms in the same time. This is not a proof??
Also I can see in the 'ldd xmms' that is using the lib from nas:
        gusti@r40:~$ ldd /usr/bin/xmms
            /usr/lib/audiooss/libaudiooss.so => 
/usr/lib/audiooss/libaudiooss.so (0x40014000)
            libpthread.so.0 => /lib/libpthread.so.0 (0x40024000)
            libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40039000)
            libxmms.so.1 => /usr/lib/libxmms.so.1 (0x40052000)
            ........
before Nas (or without the variables : AUDIOSERVER and LD_PRELOAD) the 
'ldd' give:
        gusti@r40:~$ AUDIOSERVER=
        gusti@r40:~$ LD_PRELOAD=
        gusti@r40:~$ ldd /usr/bin/xmms
            libpthread.so.0 => /lib/libpthread.so.0 (0x4001f000)
            libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40033000)
            libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4003c000)
            libxmms.so.1 => /usr/lib/libxmms.so.1 (0x40052000)
          ..........
 So I'm right. Yes ??

 

>Andre.
>
>
>  
>

-- 
Regards.
gustavo halperin
_________________________________________
Laboratory for Computer Graphics and CAD
Faculty of Mechanical Engineering
Technion - Israel Institute of Technology
Haifa, Israel 32000

Tel:      972-4-829-2334
Fax:    972-4-829-5711
e-mail: gustavoh@tx.technion.ac.il <mailto:gustavoh@tx.technion.ac.il>
_________________________________________