<Sound Dev> DirectSound multi-channel recording

Klaus Jaensch klausj at phonetik.uni-muenchen.de
Mon Sep 24 02:22:44 PDT 2007


Hello,

I would like to record multi-channel 24-bit audio with the 
DirectSound JavaSound implementation under Windows. 

But the audio formats defined in

j2se/src/windows/native/com/sun/media/sound/PLATFORM_API_WinOS_DirectSound.cpp

are limited to 8/16bit and 1 or 2 channels. 

I would like to discuss how this limitation could be removed.
 
For testing multichannel capabilities of JavaSound I extended 
channelsArray up to 8 channels and bitsArray for 
24/32 bit recordings, then compiled dsound.dll and tested recording.
It worked fine, so it's a pity that the recording formats are restricted 
to basic formats.

The question is how to make multi-channel possible without changing 
the supported defaults formats, which can be queried by 
isFormatSupported(AudioFormat).

Regards,

Klaus

------------------------------------------
Klaus Jaensch
Muenchen
Germany

Institut fuer Phonetik und Sprachverarbeitung
Schellingstr.3/II
80799 München

EMail: klausj at phonetik.uni-muenchen.de


More information about the sound-dev mailing list