- int default_position = i * 30;
-
- if(i == 0) default_position = 180;
- else
- if(i == 1) default_position = 0;
- else
- if(default_position == 90) default_position = 300;
- else
- if(default_position == 0) default_position = 330;
-
- achannel_positions[i] = defaults->get(string, default_position);
+ achannel_positions[i] = defaults->get(string,
+ default_audio_channel_position(i, audio_channels));