Re: Access to bytes from the raw audio stream? (AC'97)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 03, 2010 at 04:27:05PM +0000, John Graham wrote:

> Basically, we've got a problem where we think our processor is
> bit-shifting the sample for some reason, and I was going to see if I
> could either (i) un-bit-shift it (it looks like we're not actually
> losing any data, the sound's just being multiplied by 2^4), or (ii)
> reproduce the problem we see by bit-shifting the samples on a
> known-good platform.

Presumably you can just bit shift the audio data in userspace?

> Would I be able to access samples quite early on in the generic AC'97
> code (I don't know where that is, either, but it would be interesting
> to see, at least :p)

As I said most AC97 controllers handle all the multiplexing and framing
in hardware so the generic AC97 layer doesn't deal with AC97 wire format
at all.  You will need to look at your AC97 controller driver.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux