diff options
author | Mike Isely <isely@pobox.com> | 2006-06-25 18:05:01 -0500 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2006-06-25 18:05:01 -0500 |
commit | 0e26b437c63b92997afd53437183cba8f86423b3 (patch) | |
tree | 42fcd0c67fb34387a966ad7fd8cac5740e2a6d10 /linux/drivers/media/video/pvrusb2/pvrusb2-video-v4l.c | |
parent | b058bb88f46129d0b73190bd9de83a6336fc62e9 (diff) | |
download | mediapointer-dvb-s2-0e26b437c63b92997afd53437183cba8f86423b3.tar.gz mediapointer-dvb-s2-0e26b437c63b92997afd53437183cba8f86423b3.tar.bz2 |
Implement use of cx2341x module in pvrusb2 driver
From: Mike Isely <isely@pobox.com>
Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-video-v4l.c')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-video-v4l.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-video-v4l.c b/linux/drivers/media/video/pvrusb2/pvrusb2-video-v4l.c index 4127c82f7..e4ec7f251 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-video-v4l.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-video-v4l.c @@ -91,12 +91,15 @@ static void set_audio(struct pvr2_v4l_decoder *ctxt) hdw->srate_val); switch (hdw->srate_val) { default: - case PVR2_CVAL_SRATE_48: + case V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000: val = 48000; break; - case PVR2_CVAL_SRATE_44_1: + case V4L2_MPEG_AUDIO_SAMPLING_FREQ_44100: val = 44100; break; + case V4L2_MPEG_AUDIO_SAMPLING_FREQ_32000: + val = 32000; + break; } pvr2_i2c_client_cmd(ctxt->client,VIDIOC_INT_AUDIO_CLOCK_FREQ,&val); } |