Unix Technical Forum

Re: audio issues

This is a discussion on Re: audio issues within the lucky.openbsd.tech forums, part of the OpenBSD category; --> I wrote: > plays what should be a 12 second 2-tone test in wav format in about > 2.75-2.85 ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > lucky.openbsd.tech

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-22-2008, 11:20 AM
Marco S Hyman
 
Posts: n/a
Default Re: audio issues

I wrote:

> plays what should be a 12 second 2-tone test in wav format in about
> 2.75-2.85 seconds. On my i386


OK, there is a issue with the auich driver at least with regards to the
AMD 8111 AC97. The issue is that the codec is playing at 48000 Hz
even though the samples I was trying to play were at 11025 Hz. Seems
the codec rate is locked at 48000.

12 seconds @ 11025 Hz ~ 2.75 seconds @ 48000 Hz

Looking at the netbsd version of the driver I see where it programs
AC97_REG_PCM_FRONT_DAC_RATE, AC97_REG_PCM_SURR_DAC_RATE, and
AC97_REG_PCM_LFE_DAC_RATE. Our driver leaves such programming
up to ac97.c which only programs AC97_REG_FRONT_DAC_RATE.

Could that be part of the problem? Or is this one of the combos
that is locked at 48000 and needs rate conversion is software?

// marc

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:10 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com