Fišer, Moritz | 1 Feb 19:43 2010
Picon

ASIO input using paInt24

Hi everyone!

I've recently run into problems using portaudio for capturing audio from an ASIO device using paInt24 as
sampleformat. When I use the same code specifying paInt32 or paInt16 it works like a charm, but with
paInt24 I only receive zeros in my inputBuffers. As far as i understood, this should be supported by the
paASIO implementation or am i mistaken?

I'm using the latest stable release of portaudioV19 (also tried the latest snapshot without success)
under WinXP. As input-device i used an M-Audio Delta soundcard.

Any help would be appreciated, thanks in advance
Moritz
Ross Bencina | 2 Feb 02:03 2010

Re: ASIO input using paInt24

Hi Moritz

I suspect that there may be an unimplemented sample format converter 
function in the signal path. The easiest fix is to track which one it is in 
pa_converters.c and implement it.

Ross.

----- Original Message ----- 
From: "Fiser, Moritz" <Moritz.Fiser <at> joanneum.at>
To: <portaudio <at> music.columbia.edu>
Sent: Tuesday, February 02, 2010 5:43 AM
Subject: [Portaudio] ASIO input using paInt24

> Hi everyone!
>
> I've recently run into problems using portaudio for capturing audio from 
> an ASIO device using paInt24 as sampleformat. When I use the same code 
> specifying paInt32 or paInt16 it works like a charm, but with paInt24 I 
> only receive zeros in my inputBuffers. As far as i understood, this should 
> be supported by the paASIO implementation or am i mistaken?
>
> I'm using the latest stable release of portaudioV19 (also tried the latest 
> snapshot without success) under WinXP. As input-device i used an M-Audio 
> Delta soundcard.
>
> Any help would be appreciated, thanks in advance
> Moritz
>
> _______________________________________________
(Continue reading)

Ross Bencina | 2 Feb 10:35 2010

Re: Full Duplex vs dual half duplex?

Dan Weber wrote:
> Is there anybody interested in taking up this project to support full
> duplex directsound?

I've now committed a patch for this:

Added code to PortAudio/DirectSound to use DX8 DirectSoundFullDuplexCreate? 
API for full duplex streams where available. Define 
PAWIN_USE_DIRECTSOUNDFULLDUPLEXCREATE in your project to enable this 
feature.
http://www.portaudio.com/trac/changeset/1449

Seems to work here. Comments / testers welcome.

Thanks

Ross. 
Ross Bencina | 2 Feb 11:05 2010

Fw: Windows 7 support

Hi Laszlo

[You need to be subscribed to the list to post, I notice this bounced]

But yes, PortAudio works with Windows 7

Ross.

----- Original Message ----- 
From: Gyimothy, Laszlo 
Sent: Tuesday, February 02, 2010 8:42 PM
Subject: Windows 7 support

Hi Everybody,

does PortAudio library run on Windows 7 as well?

Thanks,

Laszlo
Dmitry Kostjuchenko | 2 Feb 17:13 2010
Picon

DS compile fix

Hey Everyone,

Would like to provide tiny patch which fixes compilation of new changes in DS API, namely:

usage of undefined pDirectSoundFullDuplex8 in the case when PAWIN_USE_DIRECTSOUNDFULLDUPLEXCREATE not defined.

Regards,
Dmitry.


iAuxSoft
------------------
[www.iauxsoft.com]
Attachment (pa_ds_compile_fix.patch): application/octet-stream, 1513 bytes
_______________________________________________
Portaudio mailing list
Portaudio <at> music.columbia.edu
http://music.columbia.edu/mailman/listinfo/portaudio
Dmitry Kostjuchenko | 2 Feb 17:26 2010
Picon

Pa WASAPI impl. fix

And the last :)

I was aked to provide WASAPI fixed implementation, thus I would like to propose it for review.
 
It has callback functionality fully implemented for Capturing and Playback. It is operating in Shared mode only, if Exclusive mode is required, it can be added. I did not do blocking part, if anyone requires I can implement it as well.

1:1 exchange to WASAPI from DS or WMME under Vista/7 if one was using callback PA API will be unnoticeable.

Would appreciate if this patch is reviewed and applied :)

Best regards,
Dmitry.

iAuxSoft
------------------
[www.iauxsoft.com]
Attachment (pa_wasapi_fixed_impl.zip): application/x-zip-compressed, 13 KiB
_______________________________________________
Portaudio mailing list
Portaudio <at> music.columbia.edu
http://music.columbia.edu/mailman/listinfo/portaudio
Dmitry Kostjuchenko | 2 Feb 17:18 2010
Picon

Pa Mac impl. extension: Channels layout

Hi Again :)

I got small contribution to Mac implementation due to necessity to be able to set channels layout. It is useful for those who operate with >2 channels and require to know which channel data goes to which output channel.

Patch is made against current rev. 1449.

Regards,
Dmitry.

iAuxSoft
------------------
[www.iauxsoft.com]

Attachment (pa_mac_ch_layout.patch): application/octet-stream, 4916 bytes
_______________________________________________
Portaudio mailing list
Portaudio <at> music.columbia.edu
http://music.columbia.edu/mailman/listinfo/portaudio
Alberto di Bene | 2 Feb 19:46 2010
Picon
Picon

Re: Pa WASAPI impl. fix

On 2/2/2010 5:26 PM, Dmitry Kostjuchenko wrote:

> I was aked to provide WASAPI fixed implementation, thus I would like to
> propose it for review.

Can anybody suggest a good reading about this new architecture that M$oft did throw on us ?
Preferably someplace with commented examples....

TNX

Alberto  I2PHD
TANGUAY Martin | 2 Feb 20:13 2010

Portaudio 24-bit transparency in Windows

Hi,

 

While doing some tests with Audacity, I found some posts on their forum saying that Portaudio V19 was limited to 16-bit of resolution in Windows XP.

 

http://n2.nabble.com/24-bit-recording-on-Windows-td2505042.html#a2505042

http://forum.audacityteam.org/viewtopic.php?f=12&t=8653&start=40

 

In the meantime, I looked in your opened ticked and found something similar :

 

http://www.portaudio.com/trac/ticket/54

 

 

Does this limitation really exists in Portaudio V19 ?

Is this limitation going to be fixed in Portaudio V20 ?

 

Thanks.

 

____________________________________

Martin Tanguay, Eng­.

Senior FPGA designer

Infrastructure Product Unit

mtanguay <at> miranda.com

 

Corporate Headquarters /  Siège Social

Miranda Technologies inc.

3499 Douglas-B-Floréani

St-Laurent, QC

Canada, H4S 2C6

Tel.  (514) 333-0202 Ext. 3266

Fax. (514) 333-6051

www.miranda.com

 

_______________________________________________
Portaudio mailing list
Portaudio <at> music.columbia.edu
http://music.columbia.edu/mailman/listinfo/portaudio
Dmitry Kostjuchenko | 2 Feb 21:18 2010
Picon

Re: Pa WASAPI impl. fix

MSDN and Google is all you need :)

MSDN: http://msdn.microsoft.com/en-us/library/dd371455(VS.85).aspx

Cheers, 
Dmitry.

Quoting Alberto di Bene <dibene <at> usa.net>:
On 2/2/2010 5:26 PM, Dmitry Kostjuchenko wrote:

> I was aked to provide WASAPI fixed implementation, thus I would like to
> propose it for review.

Can anybody suggest a good reading about this new architecture that M$oft did throw on us ?
Preferably someplace with commented examples....

TNX

Alberto I2PHD

_______________________________________________
Portaudio mailing list
Portaudio <at> music.columbia.edu
http://music.columbia.edu/mailman/listinfo/portaudio



iAuxSoft
------------------
[www.iauxsoft.com]
_______________________________________________
Portaudio mailing list
Portaudio <at> music.columbia.edu
http://music.columbia.edu/mailman/listinfo/portaudio

Gmane