[nas] Exporting audio output]
Shardool
shardool at iiita.ac.in
Sat Feb 14 00:35:49 MST 2004
> On Sat, 14 Feb 2004, Shardool wrote:
>
>> From: Shardool <shardool at iiita.ac.in>
>> Date: Sat, 14 Feb 2004 01:22:24 +0530 (IST)
>> Subject: Re: [nas] Exporting audio output]
>> To: nas at radscan.com
>> X-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL,BAYES_00,
>> PRIORITY_NO_NAME
>> autolearn=no version=2.60
>>
>> > Jon Trulson <jon at radscan.com> writes:
>> >>>
>> >>> I tried libaudiooss from the site you mentioned. It worked partially
>> for
>> >>> xmms but didnt't work for any other application (including mplayer).
>> Any other suggestions?
>> >>
>> >> There is a native NAS plugin for xmms at
>> >>
>> >> ftp://ftp.stack.nl/pub/users/willem/
>> >>
>> >> I use it all the time. In general, it will be better to use the
>> >>native application's NAS support, if available. libaudiooss is an
>> LD_PRELOAD library that intercepts accesses to /dev/{mixer,audio,dsp}
>> and converts them into NAS protocol requests.
>> >
>> > Linux apps are moving away from OSS to ALSA (or even JACK).
>> >
>> > If the app doesn't use /dev/dsp but /dev/snd/...
>> > then libaudiooss can't catch it.
>> >
>> >
>> >>
>> >> You should use this lib on apps that do not grok NAS, but use
>> >>direct OSS access instead.
>> >
>>
>> I prefer to use mplayer instead of xmms.
>
> Mplayer also has native NAS support - try 'mplayer -ao nas ...' if
> your mplayer was built with NAS support...
>
>> I have tried running mplayer with the following option along with
>> libaudiooss
>> $ mplayer foobar.avi -ao oss:/dev/dsp
>> which tells it to use oss with the device /dev/dsp but it did not work.
>> Anyway, I am looking for a generic solution which is not confined to a
>> particular application.
>>
>
> As Paul mentioned, you are unlikely to find one that works with
> everything. KDE uses artsd, gnome uses esd (for which you can get NAS
> support in theory).
>
I recompiled mplayer with nas support and its working perfectly.
Although not the exact solution I was looking for it will do the job for me.
Thanks a lot guys!
Regards,
Shardool.
More information about the Nas
mailing list