* s/pdif controls
@ 2003-03-08 15:00 Paul Davis
2003-03-10 13:21 ` Takashi Iwai
0 siblings, 1 reply; 6+ messages in thread
From: Paul Davis @ 2003-03-08 15:00 UTC (permalink / raw)
To: alsa-devel
how are users supposed to set various s/pdif bits?
the existing control formats involve massive bitfields that are
totally impenetrenable to almost everyone.
what is the strategy here? if someone wants to turn the pro/consumer
bit on/off, what are they supposed to do?
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: s/pdif controls
2003-03-08 15:00 s/pdif controls Paul Davis
@ 2003-03-10 13:21 ` Takashi Iwai
2003-03-11 13:54 ` Paul Davis
0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2003-03-10 13:21 UTC (permalink / raw)
To: Paul Davis; +Cc: alsa-devel
At Sat, 8 Mar 2003 10:00:20 -0500,
Paul Davis wrote:
>
> how are users supposed to set various s/pdif bits?
>
> the existing control formats involve massive bitfields that are
> totally impenetrenable to almost everyone.
>
> what is the strategy here? if someone wants to turn the pro/consumer
> bit on/off, what are they supposed to do?
a good question - there has not been much discussions there.
the iec958 status bits are passed usually through AESx arguments of
iec958 (aka spdif) pcm interface. and i think it's a good way,
because it's general and applicable to different cards in a uniform
way.
so far, almost only AC3-passthru was the case which needs to change
such a configuration, and the status bits are likely known for such.
so, there was no big complans about this. but, surely the way above
is for end-users.
well, we'll need a kind of iec958-status-bit-composer, which is
implemented on envy24control. but i believe it should be a user-land
solution, anyway.
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: s/pdif controls
2003-03-10 13:21 ` Takashi Iwai
@ 2003-03-11 13:54 ` Paul Davis
2003-03-11 19:25 ` Dan Hollis
0 siblings, 1 reply; 6+ messages in thread
From: Paul Davis @ 2003-03-11 13:54 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
>> how are users supposed to set various s/pdif bits?
>>
>> the existing control formats involve massive bitfields that are
>> totally impenetrenable to almost everyone.
>>
>> what is the strategy here? if someone wants to turn the pro/consumer
>> bit on/off, what are they supposed to do?
>
>a good question - there has not been much discussions there.
>the iec958 status bits are passed usually through AESx arguments of
>iec958 (aka spdif) pcm interface. and i think it's a good way,
>because it's general and applicable to different cards in a uniform
>way.
true, but its totally impenetrable. i wrote a few drivers and even i
have absolutely no idea what those bitfields mean.
>well, we'll need a kind of iec958-status-bit-composer, which is
>implemented on envy24control. but i believe it should be a user-land
>solution, anyway.
i agree. but why are the status bit fields so long? is this following
IEC958 specs?
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: s/pdif controls
2003-03-11 13:54 ` Paul Davis
@ 2003-03-11 19:25 ` Dan Hollis
2003-03-11 20:59 ` Benny Sjostrand
0 siblings, 1 reply; 6+ messages in thread
From: Dan Hollis @ 2003-03-11 19:25 UTC (permalink / raw)
To: Paul Davis; +Cc: Takashi Iwai, alsa-devel
On Tue, 11 Mar 2003, Paul Davis wrote:
> i agree. but why are the status bit fields so long? is this following
> IEC958 specs?
Yes. They are large.
The only full description of the status bitfields I have ever found is in
the AD1892 datasheet. I have archived a copy here:
http://bani.anime.net/bookmarkz/AD1892_0.pdf
-Dan
--
[-] Omae no subete no kichi wa ore no mono da. [-]
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: s/pdif controls
2003-03-11 20:59 ` Benny Sjostrand
@ 2003-03-11 20:46 ` Dan Hollis
0 siblings, 0 replies; 6+ messages in thread
From: Dan Hollis @ 2003-03-11 20:46 UTC (permalink / raw)
To: Benny Sjostrand; +Cc: Paul Davis, Takashi Iwai, alsa-devel
On Tue, 11 Mar 2003, Benny Sjostrand wrote:
> Another spec. from Cirrus that explains all the IEC958 bitfields, I
> guess this one is well known. I got a copy on
> http://www.cucumelo.org/~gorm/an22.pdf
It doesn't explain all the subcodes though...
-Dan
--
[-] Omae no subete no kichi wa ore no mono da. [-]
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: s/pdif controls
2003-03-11 19:25 ` Dan Hollis
@ 2003-03-11 20:59 ` Benny Sjostrand
2003-03-11 20:46 ` Dan Hollis
0 siblings, 1 reply; 6+ messages in thread
From: Benny Sjostrand @ 2003-03-11 20:59 UTC (permalink / raw)
To: Dan Hollis; +Cc: Paul Davis, Takashi Iwai, alsa-devel
>
>
>>i agree. but why are the status bit fields so long? is this following
>>IEC958 specs?
>>
>>
>
>Yes. They are large.
>
>The only full description of the status bitfields I have ever found is in
>the AD1892 datasheet. I have archived a copy here:
>http://bani.anime.net/bookmarkz/AD1892_0.pdf
>
>-Dan
>
Another spec. from Cirrus that explains all the IEC958 bitfields, I
guess this one is well known. I got a copy on
http://www.cucumelo.org/~gorm/an22.pdf
/Benny
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-03-11 20:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-08 15:00 s/pdif controls Paul Davis
2003-03-10 13:21 ` Takashi Iwai
2003-03-11 13:54 ` Paul Davis
2003-03-11 19:25 ` Dan Hollis
2003-03-11 20:59 ` Benny Sjostrand
2003-03-11 20:46 ` Dan Hollis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.