All of lore.kernel.org
 help / color / mirror / Atom feed
From: marcin kowalski <yoshi314@gmail.com>
To: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] hvr-1300 analog audio question
Date: Mon, 30 Jun 2008 17:04:13 +0200	[thread overview]
Message-ID: <20080630150413.GA7486@watanabe> (raw)
In-Reply-To: <51029ae90806300536g734d5d24x84ed8cc84260266a@mail.gmail.com>

On 14:36 Mon 30 Jun     , yoshi watanabe wrote:
> sorry, seems that's the way gmail works by default. that was not intended.
> i'll post results in 3-4 hours time when i'm home.
> 
> On Mon, Jun 30, 2008 at 12:11 PM, Simon Farnsworth
> <simon.farnsworth@onelan.co.uk> wrote:
> > Please don't drop the cc when replying - I'm passing on my own experiences
> > with an unrelated card, in the hope that it helps you.
> >
> > Someone else on the list may look at this and have an "aha!" moment,
> > answering your question for you.
> >
> > Note that the increased buffering is important for the SAA7134 - it seems to
> > only be prepared to transfer audio data in blanking time, so if there's not
> > enough buffering available, it just drops samples.
> >
> > yoshi watanabe wrote:
> >>
> >> i tried 32000 before when using arecord | aplay combo but the arecord
> >> insisted on 48000 audio rate. will try again and report later, thanks.
> >>
> >> On Mon, Jun 30, 2008 at 11:24 AM, Simon Farnsworth
> >> <simon.farnsworth@onelan.co.uk> wrote:
> >>>
> >>> yoshi watanabe wrote:
> >>>>
> >>>> hello.
> >>>>
> >>>> i'm using hauppauge hvr-1300 to receive video signal from playstation2
> >>>> console, pal model. video is just fine, but i'm having strange audio
> >>>> issues, but judging by some searching i did - that's pretty common
> >>>> with this card , although people have varied experience with the card.
> >>>>
> >>> I've had similar issues with SAA7134 based cards, which were resolved by
> >>>  changing audio parameters.
> >>>
> >>> If your problem is the same as mine was, try:
> >>> arecord --format=S16 \
> >>>       --rate=32000 \
> >>>       --period-size=8192 \
> >>>       --buffer-size=524288 | aplay
> >>>
> >>> This forces 32kHz sampling, and gives the card lots of buffer space to
> >>> play
> >>> with.
> >>> --
> >>> Simon Farnsworth
> >>>
> >>>
> >>
> >>
> >>
> >
> >
> > --
> > Simon Farnsworth
> > Software Engineer
> >
> > ONELAN Limited
> > 1st Floor Andersen House
> > Newtown Road
> > Henley-on-Thames, OXON
> > RG9 1HG
> > United Kingdom
> >
> > Tel:    +44(0)1491 411400
> > Fax:    +44(0)1491 579254
> > Support:+44(0)1491 845282
> >
> > www.onelan.co.uk
> >
> >
i just got white noise on audio. seems like this doesn't do the trick. i'll have to come up with something else. 

this message is really confusing :

arecord -D hw:1 -c 2 --format=S16 --rate=32000 --period-size=8192 --buffer-size=524288 | aplay -

Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 32000 Hz, Stereo
Warning: rate is not accurate (requested = 32000Hz, got = 48000Hz)
         please, try the plug plugin

does it mean it didn't work as expected?
also during playback i get numerous copies of this line in my dmesg (during recording) : 

cx88[0]: irq aud [0x1001] dn_risci1* dn_sync*

what does that mean?

some extra info about my hardware: 

my audio devices : 
**** List of CAPTURE Hardware Devices ****
card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CK804 [NVidia CK804], device 1: Intel ICH - MIC ADC [NVidia CK804 - MIC ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: CX8811 [Conexant CX8811], device 0: CX88 Digital [CX88 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
**** List of PLAYBACK Hardware Devices ****
card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


lspci -n shows that the card should work fine with cx88-alsa (which i have loaded).

01:07.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
01:07.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
01:07.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)

01:07.0 0400: 14f1:8800 (rev 05)
01:07.1 0480: 14f1:8811 (rev 05)
01:07.2 0480: 14f1:8802 (rev 05)

those ids are said to be supported. i have no ideas atm what else to try. trying 48000 sampling rate with bigger buffer 
also produces noise.

i guess i'll dig the mailing list archive once again. 


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2008-06-30 15:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-30  9:03 [linux-dvb] hvr-1300 analog audio question yoshi watanabe
2008-06-30  9:24 ` Simon Farnsworth
     [not found]   ` <51029ae90806300304s106305u36be341e80b69b2a@mail.gmail.com>
2008-06-30 10:11     ` Simon Farnsworth
2008-06-30 12:36       ` yoshi watanabe
2008-06-30 15:04         ` marcin kowalski [this message]
2008-06-30 23:57   ` hermann pitton
2008-07-01  5:20     ` marcin kowalski
2008-07-05  9:18       ` yoshi watanabe
2008-07-05 11:03         ` marcin kowalski
2008-07-05 22:56           ` hermann pitton
2008-07-06 12:08             ` marcin kowalski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080630150413.GA7486@watanabe \
    --to=yoshi314@gmail.com \
    --cc=linux-dvb@linuxtv.org \
    --cc=simon.farnsworth@onelan.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.