~jtaylor/ubuntu/oneiric/flightgear/fix-749249

« back to all changes in this revision

Viewing changes to src/ATC/AIPlane.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2005-11-26 12:31:23 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20051126123123-dhs3dijy6nd257up
Tags: 0.9.8-3ubuntu1
adapt gl/glu dependencies for Xorg

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
        // TODO - turn it off if user switches to another freq - keep track of where in message we are etc.
91
91
        if(_transmit) {
92
92
                //cout << "transmit\n";
93
 
                double user_freq0 = fgGetDouble("/radios/comm[0]/frequencies/selected-mhz");
94
 
                double user_freq1 = fgGetDouble("/radios/comm[1]/frequencies/selected-mhz");
 
93
                double user_freq0 = fgGetDouble("/instrumentation/comm[0]/frequencies/selected-mhz");
 
94
                double user_freq1 = fgGetDouble("/instrumentation/comm[1]/frequencies/selected-mhz");
95
95
                _counter = 0.0;
96
96
                _max_count = 5.0;               // FIXME - hardwired length of message - need to calculate it!
97
97
                
191
191
                        SGSoundSample* simple = new SGSoundSample(buf, len, 8000, false);
192
192
                        // TODO - at the moment the volume is always set off comm1 
193
193
                        // and can't be changed after the transmission has started.
194
 
                        simple->set_volume(5.0 * fgGetDouble("/radios/comm[0]/volume"));
 
194
                        simple->set_volume(5.0 * fgGetDouble("/instrumentation/comm[0]/volume"));
195
195
                        globals->get_soundmgr()->add(simple, refname);
196
196
                        if(repeating) {
197
197
                                globals->get_soundmgr()->play_looped(refname);