Revision d81c4f8b server/include/ROS/UtteranceCallbackWrapperROS.h

View differences:

server/include/ROS/UtteranceCallbackWrapperROS.h
114 114
			default:
115 115
				printf("> invalid sample type %d in SoundChunk! ignoring request!\n", sound_chunk.sample_type);
116 116
				return false;
117
				// throw runtime_error("UtteranceRSB::convert_audio_data() unsupported sample type in soundchunk");
118
		}
117
            // throw runtime_error("UtteranceROS::convert_audio_data() unsupported sample type in soundchunk");
118
      }
119 119

  
120 120
		// bitrate
121 121
		audio_data->sample_rate = sound_chunk.rate;
......
129 129
		}
130 130
		else {
131 131
			printf("> invalid SoundChunk byte_format");
132
			throw std::runtime_error("UtteranceRSB::convert_audio_data() unsupported byte_format in soundchunk");
132
			throw std::runtime_error("UtteranceROS::convert_audio_data() unsupported byte_format in soundchunk");
133 133
		}
134 134

  
135 135
		// number of channels

Also available in: Unified diff