uaudio and Digigram UAX220
Per olof Ljungmark
peo at intersonic.se
Sun Oct 23 01:50:15 PDT 2005
> http://people.freebsd.org/~ariff/snd_RELENG_5_20051009_054.tar.gz
>
> tar -zxf snd_RELENG_5_20051009_054.tar.gz -C /usr/src/
>
> Again, as I've stated in my previous post:
>
> Your entire playback channel goes haywire by not returning appropriate
> sound format. Nothing can be done, even with this patch. Perhaps you
> can try replacing all your /usr/src/sys/dev/sound/usb/ sources from
> HEAD/CURRENT branch instead.
So I recompiled the kernel using
http://people.freebsd.org/~ariff/snd_RELENG_5_20051022_055.tar.gz
and as you foresaw, it changed nothing.
UAX220 works as a native USB Audio device under Win2k, XP, Linux and OS X.
I found this statement in the manual for the adapter, perhaps relevant
to the problem?
I looked at digigram.com/drivers but saw nothing relevant contrary to
the statement below, perhaps Fabrice could enlighten me?
The manual only refers to Windows XPsp2 as OS so I assume with all
others the adapter will report that it supports 48kHz only?
###### From UAX manual:
UAX220 operates by default at an internal sample rate of 48 kHz. In case
the files played back have a different sampling rate, the operating
system performs a real-time frequency conversion.
Under Windows XP (≥SP2) only, it is possible to modify the embedded
firmware version of the UAX220 so that it accepts other internal sample
rates: 8 kHz, 11.025 kHz, 16 kHz, 22.05 kHz, 24 kHz, 32 kHz, 44.1 kHz,
48 kHz. That makes it possible to work with files at e.g. 44.1 kHz
without frequency conversion.
To use this feature, please download the corresponding firmware update
application at www.digigram.com/drivers/index.htm. In the ‘Firmware’
section, select ‘UAX220’. Read the instructions on how to use this
application carefully.
Attention: When using this firmware, UAX220 notifies Windows that it is
able to manage sample rates from 8 through 48 kHz. Nevertheless, UAX220
uses internally the same sampling rate for recording and playback. This
entails, that if an application plays a file at a given sample rate, and
then another application is launched in parallel to record at another
sampling rate, UAX220 will record at the sampling rate defined by the
playback application, whereas the recording application assumes to work
at another sampling rate. On the other hand, if a recording is already
in hand at a certain frequency and a playback is launched at another
frequency, the output will have the right frequency. To sum up, the
audio stream being recorded or played back first imposes the sampling rate!
With the firmware delivered by default, Windows detects that UAX220
supports only 48 kHz, and in consequence performs frequency conversions
automatically when it detects that the frequency required by the
application is different from 48 kHz.
More information about the freebsd-multimedia
mailing list