commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r3754 - gnuradio/branches/developers/jcorgan/cppwrap/g


From: jcorgan
Subject: [Commit-gnuradio] r3754 - gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native
Date: Mon, 9 Oct 2006 14:20:58 -0600 (MDT)

Author: jcorgan
Date: 2006-10-09 14:20:58 -0600 (Mon, 09 Oct 2006)
New Revision: 3754

Modified:
   
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/dialtone.cc
Log:
Follow coding guidelines.

Modified: 
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/dialtone.cc
===================================================================
--- 
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/dialtone.cc
   2006-10-09 19:58:08 UTC (rev 3753)
+++ 
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/dialtone.cc
   2006-10-09 20:20:58 UTC (rev 3754)
@@ -25,17 +25,17 @@
 
 int main()
 {
-    gr_sig_source_f_sptr SRC0, SRC1;
-    audio_alsa_sink_sptr SINK;
+    gr_sig_source_f_sptr src0, src1;
+    audio_alsa_sink_sptr sink;
     gr_flow_graph_sptr fg;
     
-    SRC0 = gr_make_sig_source_f(48000, GR_SIN_WAVE, 350, 0.5);
-    SRC1 = gr_make_sig_source_f(48000, GR_SIN_WAVE, 440, 0.5);
-    SINK = audio_alsa_make_sink(48000);
+    src0 = gr_make_sig_source_f(48000, GR_SIN_WAVE, 350, 0.5);
+    src1 = gr_make_sig_source_f(48000, GR_SIN_WAVE, 440, 0.5);
+    sink = audio_alsa_make_sink(48000);
 
     fg = gr_make_flow_graph();
-    fg->connect(SRC0, 0, SINK, 0);
-    fg->connect(SRC1, 0, SINK, 1);
+    fg->connect(src0, 0, sink, 0);
+    fg->connect(src1, 0, sink, 1);
 
     fg->run();
     





reply via email to

[Prev in Thread] Current Thread [Next in Thread]