Hi, I'm sending a patch that hypothetically would allocate a memory buffer for the audio and copy the data from urb to buffer. It doesn't work, so I'm not putting a [PATCH] in subject and send it just for feedback. Am I going on the right way of implementing this? The patch was made against the mercurial version at http://linuxtv.org/hg/v4l-dvb. I can see the audio packets at tm6000-video.c. Mauro said that the urb audio packets had just 4 bytes of relevant data, 2 for each channel, but the audio buffer has 128Kb and I see too few packets. Anyway, the tm6000_audio_isocirq function receives the size of the packet and now is copying everything to the buffer, I guess next step will be to find what is relevant in this stream and make sure I have all packets here. I haven't applied all the recent patches from Stefan yet. Luis
Attachment:
audio_buffer_patch
Description: Binary data