[LAU] hda_codec_analog 96000 sampling rate?

Mark Rages markrages at gmail.com
Mon Nov 29 21:03:23 UTC 2010


Hi all,

I've got an ubuntu 10.04 system and I am using the sound card built
into my motherboard.

I would like to play some audio sampled at 96 kHz.  But I don't appear
to have this enabled:

markrages at markrages-desktop:~$ cat /proc/asound/card*/codec#0  | grep rates
    rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
    rates [0x60]: 44100 48000
    rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000

But the same file lists "Codec: Analog Devices AD1986A".  I looked up
the datasheet, and the AD1986A is able to support 96 kHz sampling with
"Double rate audio".

In audacity I generated a .wav file with a 24 kHz sine wave sampled at
96 kHz.  It produces a flat line on the oscilloscope when I play it
back in audacity or sox.  This makes me suspect that it's getting
downsampled to 48 kHz somewhere along the way.  (I also tried playing
it back in alsaplayer and the result was an ugly on the 'scope.  I
didn't try listening.).

I generated a 1 kHz wave which showed up loud and clear, so the audio
path is working.

(Before you ask, I'm not trying to play music for dogs, I'm trying to
generate FM stereo pilot tone.)

So, what do I need to do to get 96kHz playback working?

Regards,
Mark
markrages at gmail
-- 
Mark Rages, Engineer
Midwest Telecine LLC
markrages at midwesttelecine.com


More information about the Linux-audio-user mailing list