Re: The Power of AI!

Liste des GroupesRevenir à col advocacy 
Sujet : Re: The Power of AI!
De : candycanearter07 (at) *nospam* candycanearter07.nomail.afraid (candycanearter07)
Groupes : comp.os.linux.advocacy
Date : 25. Oct 2024, 19:40:04
Autres entêtes
Organisation : the-candyden-of-code
Message-ID : <slrnvhnp8o.4t2o.candycanearter07@candydeb.host.invalid>
References : 1
User-Agent : slrn/1.0.3 (Linux)
Chris Ahlstrom <OFeem1987@teleworm.us> wrote at 10:59 this Tuesday (GMT):
The googoo query: "C++ start the jack server".
>
The AI overview:
>
    Starting the JACK server directly from C++ code is not a common practice.
    You usually start the JACK server using external tools like jackd from the
    command line or using a graphical tool like QjackCtl.  However, if you
    really need to control the JACK server from your C++ code, you can use a
    library like libjack. Here's a basic example:
>
    #include <jack/jack.h>
>
    int main() {
        jack_status_t status;
        jack_client_t* client =
           jack_client_open("MyClient", JackNullOption, &status);
>
        if (client == NULL) {
            fprintf(stderr, "jack_client_open() failed, status = 0x%2.0x\n",
                status);
            if (status & JackServerFailed) {
                fprintf(stderr, "Unable to connect to JACK server\n");
        }
            exit(1);
        }
>
        // ... your JACK client code here ...
>
        jack_client_close(client);
        return 0;
    }
>
In other words, wrong. Actually not even wrong; it does not answer the
question.
>
Heh heh:


Was the message cut off by my provider, or did you mistype a period?
--
user <candycane> is generated from /dev/urandom

Date Sujet#  Auteur
22 Oct 24 * The Power of AI!2Chris Ahlstrom
25 Oct 24 `- Re: The Power of AI!1candycanearter07

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal