Kludge Tracker: Gnuradio - v3.4.0-101-g7e2b45b
Parent Directory
(gnuradio/gnuradio-core/src/lib)
Kludge Summary of gnuradio/gnuradio-core/src/lib/io
| Total Kludges |
8 |
| Total Subdirs |
0 |
All Directories within gnuradio/gnuradio-core/src/lib/io
All Files within gnuradio/gnuradio-core/src/lib/io
Kludge Snippets in gnuradio/gnuradio-core/src/lib/io
gnuradio/gnuradio-core/src/lib/io/gr_file_sink.cc
| Category |
FIXME |
| Committer |
jcorgan |
| Commit ID |
5d69a524f81f234b3fbc41d49ba18d6f6886baba |
64 return noutput_items; // drop output on the floor
65
66 while (nwritten < noutput_items){
67 int count = fwrite (inbuf, d_itemsize, noutput_items - nwritten, d_fp);
68 if (count == 0) // FIXME add error handling
69 break;
70 nwritten += count;
71 inbuf += count * d_itemsize;
72 }
gnuradio/gnuradio-core/src/lib/io/gr_oscope_sink_f.cc
| Category |
FIXME |
| Committer |
jcorgan |
| Commit ID |
5d69a524f81f234b3fbc41d49ba18d6f6886baba |
66 float tmp[gr_oscope_guts::MAX_CHANNELS];
67
68 for (int i = 0; i < noutput_items; i++){
69
70 // FIXME for now, copy the data. Fix later if reqd
71 for (int ch = 0; ch < ni; ch++)
72 tmp[ch] = ((const float *) input_items[ch])[i];
73
74 d_guts->process_sample (tmp);
gnuradio/gnuradio-core/src/lib/io/gr_udp_sink.cc
| Category |
FIXME |
| Committer |
Eric Blossom |
| Commit ID |
99a39a4351ca250dcbeeface0ab7b9de6e301d49 |
221 hints.ai_protocol = IPPROTO_UDP;
222 char port_str[12];
223 sprintf( port_str, "%d", port );
224
225 // FIXME leaks if report_error throws below
226 int ret = getaddrinfo( host, port_str, &hints, &ip_dst );
227 if( ret != 0 )
228 report_error("gr_udp_source/getaddrinfo",
229 "can't initialize destination socket" );
gnuradio/gnuradio-core/src/lib/io/gr_udp_source.cc — 1
| Category |
FIXME |
| Committer |
Eric Blossom |
| Commit ID |
99a39a4351ca250dcbeeface0ab7b9de6e301d49 |
128 hints.ai_flags = AI_PASSIVE;
129 char port_str[12];
130 sprintf( port_str, "%d", port );
131
132 // FIXME leaks if report_error throws below
133 ret = getaddrinfo( host, port_str, &hints, &ip_src );
134 if( ret != 0 )
135 report_error("gr_udp_source/getaddrinfo",
136 "can't initialize source socket" );
gnuradio/gnuradio-core/src/lib/io/gr_udp_source.cc — 2
| Category |
FIXME |
| Committer |
Eric Blossom |
| Commit ID |
99a39a4351ca250dcbeeface0ab7b9de6e301d49 |
134 if( ret != 0 )
135 report_error("gr_udp_source/getaddrinfo",
136 "can't initialize source socket" );
137
138 // FIXME leaks if report_error throws below
139 d_temp_buff = new char[d_payload_size]; // allow it to hold up to payload_size bytes
140
141 // create socket
142 d_socket = socket(ip_src->ai_family, ip_src->ai_socktype,
gnuradio/gnuradio-core/src/lib/io/i2c_bitbang.cc
| Category |
FIXME |
| Committer |
jcorgan |
| Commit ID |
5d69a524f81f234b3fbc41d49ba18d6f6886baba |
136 i2c_bitbang::read (int addr, unsigned char *buf, int max_bytes)
137 {
138 d_io->lock ();
139
140 // FIXME
141
142 d_io->unlock ();
143 return -1;
144 }
gnuradio/gnuradio-core/src/lib/io/microtune_4702.cc
| Category |
FIXME |
| Committer |
jcorgan |
| Commit ID |
5d69a524f81f234b3fbc41d49ba18d6f6886baba |
168 */
169 bool
170 microtune_4702::pll_locked_p ()
171 {
172 // FIXME
173 return true;
174 }
175
176 /*!
gnuradio/gnuradio-core/src/lib/io/microtune_4937.cc
| Category |
FIXME |
| Committer |
jcorgan |
| Commit ID |
5d69a524f81f234b3fbc41d49ba18d6f6886baba |
131 */
132 bool
133 microtune_4937::pll_locked_p ()
134 {
135 // FIXME
136 return true;
137 }
138
139 /*!