>  
> **#################################################################################**
>                 PROGRAM ENDS
> **#################################################################################**

>   what i had undestood is that it is because my PC's sound card
>   sampling rate was 44100, and NOT 32000 as required by the program,
>   I have also tried with the following modification to the
>   command,but it didn't work.

>   ########################################
> [EMAIL PROTECTED]:/home/sabu# 
> GNUradio/gnuradio-3.0.4/gnuradio-examples/python/usrp/usrp_rx_nogui.py -f 
> 101.9M -m FM -o plughw:0,0
> ########################################

>   I know that it is obviously due to the fact that in the program it
>   accepts only an integer value , while iam trying to enter a
>   string, NOW WHAT EXACTLY I WHAT TO KNOW IS THAT HOW COULD I
>   MODIFYING THE PROGRAM TO MAKE IT RUN WITHOUT ERROR ? HOW TO GET
>   RID OF THE SAMPLING RATE PROBLEM I know that it is a silly
>   question for all of u friends, but for me it really will be a
>   worth, Please extend your helping hand...(I am in a ditch.!)

>    
>   SHIJESH AK
> INDIA

Whoever wrote this piece of code failed to provide the 
standard -O <dev> command line option to specify the audio output
device.  If it were provided, then -O plughw:0,0 would most likely
fix your problem.

  parser.add_option("-O", "--audio-output", type="string", default="",
                    help="pcm device name.  E.g., hw:0,0 or surround51 or 
/dev/dsp")

  ...

  AUDIO = audio.sink(options.output_rate, options.audio_output)


Eric


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to