Hisax ttyI and audio output problems
Hi all, we are currently developing on Linux 2.4.19 and we have some problems. We wrote a simple test to easily repeat the bad behaviour, the steps are: Open a ttyI device, wait for an incoming call, play a mulaw(ulaw) or alaw, hung up as soon as the write of the file returns. N.B. the hangup that close the connection occurs just after the write returns while the sound is still listen from the caller. The problem raise on the second time the test is executed: as soon as the connection is open, this in the test means after the first ring of an incoming call, a small part of the previous mulaw is played. The problem occours also when the remote user hangup and this gives us serious problems. We tested this on a Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02) and on a AVM Audiovisuelles MKTG & Computer System GmbH Fritz!PCI v2.0 ISDN (rev 01), the second card, instead of repeating the small part, doesn't output anything at all. Maybe the two problems are related, maybe not. In the attachment a very simple and essential test.c program is provided, an mulaw(ulaw) file for test can be found at: http://www.tsp.ece.mcgill.ca/Docs/AudioFormats/WAVE/Samples/Goldwave/addf8-m... while an alaw is at http://www.tsp.ece.mcgill.ca/Docs/AudioFormats/WAVE/Samples/Goldwave/addf8-A.... If you want to compile remind to change the MSN with your local one and to switch to alaw if necessary. TIA, Lorenzo Pallara P.s. Here follows a an automatic translation if it can be of any help... Hallo alle, entwickeln uns wir z.Z. auf Linux 2,4,19 und wir haben einige Probleme. Wir schrieben einen einfachen Test, um das schlechte Verhalten leicht zu wiederholen, die Schritte sind: Öffnen Sie eine ttyI Vorrichtung, Wartezeit für einen eingehenden Anruf, spielen Sie ein mulaw(ulaw) oder das alaw, oben gehangen, sobald schreiben der Akte zurückgeht. Notiz: der Hängezustand, den nah der Anschluß auftritt, gleich nachdem schreiben zurückgeht, während der Ton noch ist, hören vom Anrufer. Die Problemerhöhung an, das zweite mal als der Test durchgeführt wird: sobald der Anschluß geöffnet ist, wird dieses in den Testmitteln nach dem ersten Ring eines eingehenden Anrufs, ein kleines Teil des vorhergehenden mulaw gespielt. Die Problem occours auch, wenn der Remotebenutzerhängezustand und -dieser uns ernste Probleme gibt. Wir prüften dieses auf einem Köln Chip-Entwürfe GmbH ISDN Netzsteuerpult [ Hfc-PCI ] (Umdr. 02) und auf einem AVM Audiovisuelles MKTG u. gibt Computersystem GmbH Fritz!PCI v2.0 ISDN (Umdr. 01), die zweite Karte, anstatt das kleine Teil zu wiederholen aus, nicht nichts an allen. Möglicherweise sind die zwei Probleme, möglicherweise nicht in Verbindung stehend. Im Zubehör wird ein sehr einfaches und wesentliches test.c Programm, eine mulaw(ulaw) Akte für Test kann an gefunden werden zur Verfügung gestellt: http://www.tsp.ece.mcgill.ca/Docs/AudioFormats/WAVE/Samples/Goldwave/addf8-m..., während ein alaw an http://www.tsp.ece.mcgill.ca/Docs/AudioFormats/WAVE/Samples/Goldwave/addf8-A... ist. Wenn Sie kompilieren möchten, erinnern Sie, um das MSN mit Ihrem lokalen zu ändern und zum alaw wenn notwendig zu schalten
participants (1)
-
Lorenzo Pallara