delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/09/28/20:13:15

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C5ED385ED41
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1695946393;
bh=uXrLdh7Kcyhdh5FENa1iIw9UITVvtDa0wLqz8T51F9M=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=adcLOzLploDszYabtS2z5eL3Xn+ELK9dwqRarRYAIWP4qkldHHcZPQz8lYqYMEAGb
9MBJKeEGJUcpmVxDSVx8ExPxQ8xnz9OPiCgjaz1n+kMMdkpOFHXZYNMpb554JCIyqA
+mgbAvF6nPLYSFsW/CibYgJYzJRNSNGQjnreovXA=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9EE4E3858C52
X-Virus-Scanned: amavisd-new at boeck1.rrze.uni-erlangen.de (RRZE)
X-RRZE-Flag: Not-Spam
X-RRZE-Submit-IP: 2a02:810d:b640:863:4137:6d59:c406:9ce5
Message-ID: <067beee9-8d53-beec-1b7a-1b0a238cefdc@fau.de>
Date: Fri, 29 Sep 2023 02:12:51 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Subject: portaudio: only OSS host API available since version 19.20210406-2
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, JMQ_SPF_NEUTRAL, KAM_NUMSUBJECT,
SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Michael Panzlaff via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Michael Panzlaff <michael DOT panzlaff AT fau DOT de>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi,

I got the right mailing list by not writing to cygwin-apps.
Since my last cygwin update (which upgraded portaudio
to 19.20210406-2) the library does not function properly anymore an no 
sound playback is possible.

Usually you query portaudio for the various host APIs for and then open 
a stream. In the past Cygwin's portaudio at least supported output via 
MME. In the latest version 19.20210406-2 this doesn't work anymore. The 
only available host API that is reported is OSS, but that doesn't really 
exist on Windows I assume. My best guess is that the package isn't 
configured correctly and isn't compiled with the correct support for all 
the APIs.

I'd be very welcome to get back support for MME. My application is 
currently unsuable on Cygwin because the library doesn't work. If it's 
just a matter of correctly configuring the package, I'd be interested in 
also getting support for the other host APIs that portaudio usually 
supports on native Windows, but that's entirely optional for me :)

Now that I checked, even downgrading to an older version of portaudio 
from the Cygwin installer doesn't fix the problem. So perhaps it's not 
caused by portaudio but from something else in Cygwin. Does anybody have 
any ideas?

Best regards
Michael Panzlaff

PS: Here is a sample C code which queries the host APIs and which should 
list MME and definitely not OSS:

#include <stdio.h>

#include <portaudio.h>

int main(void) {
     printf("Pa_Initialize() = %d\n", Pa_Initialize());
     PaHostApiIndex count = Pa_GetHostApiCount();
     printf("%d host APIs available:\n", count);

     for (int i = 0; i < count; i++) {
         const PaHostApiInfo *info = Pa_GetHostApiInfo(i);
         printf("%s\n", info->name);
     }
}

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019