Commit 0434a5e9 authored by Tristan Matthews's avatar Tristan Matthews

cleanup: remove unused CodecOrder typedef

parent 34cd38b3
......@@ -200,7 +200,7 @@ void Account::setActiveAudioCodecs(const vector<string> &list)
audioCodecList_.clear();
// list contains the ordered payload of active codecs picked by the user for this account
// we used the CodecOrder vector to save the order.
// we used the codec vector to save the order.
for (vector<string>::const_iterator iter = list.begin(); iter != list.end();
++iter) {
int payload = std::atoi(iter->c_str());
......
......@@ -141,7 +141,7 @@ class Account : public Serializable {
getActiveVideoCodecs() const;
/* Accessor to data structures
* @return CodecOrder& The list that reflects the user's choice
* @return The list that reflects the user's choice
*/
std::vector<int> getActiveAudioCodecs() const {
return audioCodecList_;
......
......@@ -128,7 +128,7 @@ void AudioCodecFactory::saveActiveCodecs(const std::vector<std::string>& list)
{
defaultCodecList_.clear();
// list contains the ordered payload of active codecs picked by the user
// we used the CodecOrder vector to save the order.
// we used the codec vector to save the order.
for (std::vector<std::string>::const_iterator iter = list.begin(); iter != list.end(); ++iter) {
int payload = std::atoi(iter->c_str());
......
......@@ -107,7 +107,4 @@ enum {
PAYLOAD_CODEC_SPEEX_32000 = 112
};
/** The struct to reflect the order the user wants to use the codecs */
typedef std::vector<int> CodecOrder;
#endif // __GLOBAL_H__
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment