[alsa-devel] Sampling rate limited to 48 kHz

Marek Ławicki marek.lawicki at gmail.com
Tue Apr 3 21:49:08 CEST 2007


2007/4/3, Takashi Iwai <tiwai at suse.de>:
> At Mon, 2 Apr 2007 23:44:53 +0200,
> =?ISO-8859-2?Q?Marek_=A3awicki?= wrote:
> >
> > Hi,
> >
> > I have Turtle Beach Catalina Card (Envy24HT-S, VT1616 + WM8728)
> > which I belive is exactly the same as Mad Dog Entertainer 7.1
> > ( http://techreport.com/reviews/2004q1/maddog-entertainer/index.x?pg=2 )
> >
> > Card is recognized as Chaintech AV-710 but works very well
> > ( so far I tested analog out through WM8728 and digital out ).
> >
> > My problem is : I can't set sampling rate higher than 48000 on SPDIF out.
>
> How did you test it?  Which program and which parameters?
> ice1724 driver itself supports up to 192kHz for SPDIF output.
>
>
> Takashi

Hi,

alsamixer - impossible to set "Multi Track Internal Clock" beyond 48000

# amixer sget "Multi Track Internal Clock"
Simple mixer control 'Multi Track Internal Clock',0
  Capabilities: enum
  Items: '8000' '9600' '11025' '12000' '16000' '22050' '24000' '32000'
'44100' '48000' '64000' '88200' '96000' '176400' '192000' 'IEC958
Input'
  Item0: '48000'
# amixer sset "Multi Track Internal Clock" 32000
Simple mixer control 'Multi Track Internal Clock',0
  Capabilities: enum
  Items: '8000' '9600' '11025' '12000' '16000' '22050' '24000' '32000'
'44100' '48000' '64000' '88200' '96000' '176400' '192000' 'IEC958
Input'
  Item0: '32000'
# amixer sset "Multi Track Internal Clock" 44100
Simple mixer control 'Multi Track Internal Clock',0
  Capabilities: enum
  Items: '8000' '9600' '11025' '12000' '16000' '22050' '24000' '32000'
'44100' '48000' '64000' '88200' '96000' '176400' '192000' 'IEC958
Input'
  Item0: '44100'
# amixer sset "Multi Track Internal Clock" 48000
Simple mixer control 'Multi Track Internal Clock',0
  Capabilities: enum
  Items: '8000' '9600' '11025' '12000' '16000' '22050' '24000' '32000'
'44100' '48000' '64000' '88200' '96000' '176400' '192000' 'IEC958
Input'
  Item0: '48000'
# amixer sset "Multi Track Internal Clock" 64000
Simple mixer control 'Multi Track Internal Clock',0
  Capabilities: enum
  Items: '8000' '9600' '11025' '12000' '16000' '22050' '24000' '32000'
'44100' '48000' '64000' '88200' '96000' '176400' '192000' 'IEC958
Input'
  Item0: '48000'
# amixer sset "Multi Track Internal Clock" 88200
Simple mixer control 'Multi Track Internal Clock',0
  Capabilities: enum
  Items: '8000' '9600' '11025' '12000' '16000' '22050' '24000' '32000'
'44100' '48000' '64000' '88200' '96000' '176400' '192000' 'IEC958
Input'
  Item0: '48000'
# amixer sset "Multi Track Internal Clock" 96000
Simple mixer control 'Multi Track Internal Clock',0
  Capabilities: enum
  Items: '8000' '9600' '11025' '12000' '16000' '22050' '24000' '32000'
'44100' '48000' '64000' '88200' '96000' '176400' '192000' 'IEC958
Input'
  Item0: '48000'


My external DAC (Behringer Ultramatch Pro 2496) has leds showing
current rate and I can see my card syncs up to 48000.
When it is synced at 48 kHz and I play 96 kHz wav file it plays slooowly.

# aplay -v -D bitperf 96khz.wav
Playing WAVE '96khz.wav' : Signed 24 bit Little Endian in 3bytes, Rate
96000 Hz, Stereo
Plug PCM: Linear conversion PCM (S32_LE)
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S24_3LE
  subformat    : STD
  channels     : 2
  rate         : 96000
  exact rate   : 96000 (96000/1)
  msbits       : 24
  buffer_size  : 8192
  period_size  : 2048
  period_time  : 21333
  tick_time    : 1000
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 2048
  xfer_align   : 2048
  start_threshold  : 8192
  stop_threshold   : 8192
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Hardware PCM card 0 'Chaintech AV-710' device 1 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S32_LE
  subformat    : STD
  channels     : 2
  rate         : 96000
  exact rate   : 96000 (96000/1)
  msbits       : 24
  buffer_size  : 8192
  period_size  : 2048
  period_time  : 21333
  tick_time    : 1000
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 2048
  xfer_align   : 2048
  start_threshold  : 8192
  stop_threshold   : 8192
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824

# cat ~/.asoundrc
pcm.bitperf {
        type plug
        slave {
                pcm "hw:0,1"
                format S32_LE
        }
}

Regards,
Marek


More information about the Alsa-devel mailing list