Re: Performer internal messages

New Message Reply Date view Thread view Subject view Author view

Anita Kishore (kishore++at++triavest.com)
Wed, 28 May 1997 11:21:47 -0700


>
> Hello Anita,
>
> Are you referring to print statement such as this one?
>
> PF Notice: Using 60Hz video rate.
>
>
> If it's the case, it's easy to catch up these printfs using
pfNotifyHandler().
>
>
> #include <Performer/pr.h>
>
> void notifyHandler(pfNotifyData* data)
> {
> if (data->severity <= pfGetNotifyLevel())
> send data->emsg to your GUI;
> }
>
>
> void main()
> {
> ...
> pfNotifyHandler(notifyHandler);
> ...
> }
>
>
>
>
>
> See pfNotify(3pf) for the complete man page.
>

Thanks. This is exactly what I wanted.

-anita
kishore++at++triavest.com

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:19 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.