New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13848: esdlib.c.patch

File esdlib.c.patch, 476 bytes (added by apple@…, 4 years ago)

Patch for audio/esound/esound-2.38/esdlib.c

  • esdlib.c

    old new  
    708708    if ( !host ) host = getenv("ESPEAKER"); 
    709709 
    710710    display = getenv( "DISPLAY" ); 
     711#if defined(DRIVER_COREAUDIO) 
     712        if (strncmp(display,"/tmp/launch-",12)==0) display = "0:0"; 
     713#endif 
    711714    if ( !(host && *host) && display ) { 
    712715        /* no espeaker specified, but the app should be directed to a 
    713716           remote display, so try routing the default port over there