[Cbe-oss-dev] PS3 sound driver update

gt bradley baykelper at yahoo.com
Thu Jul 12 17:43:28 EST 2007


Thank-you for the response, I am sorry that I didn't understand the comments, I understand now.  I will try and understand the hypervisor calls as that is the preferred method.

I am a bit worried that the 
ps3av_cmd_set_audio_mode() function say's: 
  spdif_through = spdif_bitstream = 0;    /* XXX not supported */

I will spend time to understand the ps3av_cmd.c file.

thank-you again
GT


From: Masakazu Mokuno <mokuno at sm.sony.co.jp>
CC: rohde at duff.dk, cbe-oss-dev at ozlabs.org, "Levand,
 Geoffrey" <Geoffrey.Levand at am.sony.com>, ralferoo at users.sourceforge.net
To: "Bradley, GT" <GT.Bradley at sonyconnect.com>
Date: Thu, 12 Jul 2007 10:25:57 +0900
Subject: Re: [Cbe-oss-dev] PS3 sound driver update

  Hi,

On Wed, 11 Jul 2007 01:27:17 -0700
"Bradley, GT"  wrote:

> Short story:  if I can get info on the chip interface, e.g.:  where is
> the "SPOCS" register:

The offset is also defined in snd_ps3_reg.h.

 PS3_AUDIO_AO_SPDCS(n, y)

As the channel status is 192 bits in length, six SPDCS registers
compose an array.  Y of the macro above is used to index the element, as
the comment of snd_ps3_reg.h suggests.

> I will also look into the video drivers as I've just discovered that
> they also contain audio code.

The audio-backend driver of the hypervisor does not assume that the
guest OSes would set the channel status bit registers directly.  Instead,
the guest OSes should use the dedicated hypervisor calls.  Please see
drivers/ps3/ps3av_cmd.c:ps3av_cmd_set_audiomode() about the calls.

regards

--
Masakazu MOKUNO


_______________________________________________
cbe-oss-dev mailing list
cbe-oss-dev at ozlabs.org
https://ozlabs.org/mailman/listinfo/cbe-oss-dev


       
---------------------------------
Luggage? GPS? Comic books? 
Check out fitting  gifts for grads at Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20070712/35590aa0/attachment.htm>


More information about the cbe-oss-dev mailing list