User data in ie958 frames
Hi,
How can I update iec958 user data in ALSA driver ? I found drivers
that updates channel status but didn't find any driver that change user data , also I didn't find the such a field in 'struct sndrv_aes_iec958' .
Thanks in advance
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Quoted 6 lines · Maen Suleiman
Hi,
How can I update iec958 user data in ALSA driver ? I found drivers
that updates channel status but didn't find any driver that change user data , also I didn't find the such a field in 'structsndrv_aes_iec958' .
Why do you want to do this in the driver? The ALSA way is for the driver to expose the actual HW functionality and for everything else (format conversion, mixing, resampling, etc) to be done in userspace, either by the application or by alsa-lib.
Lee
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
But as I saw, channel status is changed by drivers, in the controller interface, why not the user data as well.
Thanks in advance
Quoted 8 lines · Lee Revell
Quoted 6 lines · Maen Suleiman
Hi,
How can I update iec958 user data in ALSA driver ? I found drivers
that updates channel status but didn't find any driver that change user data , also I didn't find the such a field in 'structsndrv_aes_iec958' .
Quoted 7 lines
Why do you want to do this in the driver? The ALSA way is for the driver to expose the actual HW functionality and for everything else (format conversion, mixing, resampling, etc) to be done in userspace, either by the application or by alsa-lib.
Lee
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Quoted 3 lines · Maen Suleiman
But as I saw, channel status is changed by drivers, in the controller interface, why not the user data as well.
Can you explain exactly what problem you are trying to solve?
Lee
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Thanks, Maybe because I am new to ALSA , I am not able to explain exactly what I want.
The issue that I am trying to figure is in SPDIF (iec958) frame , How can I update the 'user data bits' to ALSA from a Capture stream , and read the the 'user bits' from ALSA to update a Playback stream . thats if I will use a SNDRV_PCM_FORMAT_U24_LE format for example . ( and not SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE ) . because my HW have registers for channel status and user data .
I saw in many ALSA drivers that get and updates 'channel status' bits, ( e.g. snd_emu10k1_spdif_get and snd_emu10k1_spdif_put functions ) . but didn't see any driver that updates or read user bits .
Thanks in advance
Quoted 9 lines · Lee Revell
Quoted 3 lines · Maen Suleiman
But as I saw, channel status is changed by drivers, in the controller interface, why not the user data as well.
Can you explain exactly what problem you are trying to solve?
Lee
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV