|
media-fs devctl()-s: what value to return via dev_info_ptr
|
05/17/2010 11:07 AM
post54862
|
media-fs devctl()-s: what value to return via dev_info_ptr
The documentation of mediafs provides the following
information regarding the dev_info_ptr argument
of the mediafs devctl()-s:
To pass data to and receive data from media devices,
a client application should use the devctl() function’s
dev_data_ptr and dev_info_ptr arguments to point to
the appropriate _media_* data structures.
The doc also describes what value the driver needs
to return via dev_info_ptr for 3 album art related devctl().
What value does the driver need to set *dev_info_ptr to
for the remaining devctl()-s?
This question is significant because a cursory review of
io-media sources is suggesting that io-media is relying on
the value returned via dev_info_ptr, rather than the
return code of the devctl() itself, for at least some of the
devctl()-s.
|
|
|