| 163 | } |
| 164 | |
| 165 | void selectDevice(s32 id) |
| 166 | { |
| 167 | if (id < 0) |
| 168 | { |
| 169 | id = TFE_AudioDevice::getDefaultOutputDevice(); |
| 170 | } |
| 171 | |
| 172 | if (id != TFE_AudioDevice::getOutputDeviceId() && id >= 0 && id < TFE_AudioDevice::getOutputDeviceCount()) |
| 173 | { |
| 174 | shutdown(); |
| 175 | init(false, id); |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | void setUpsampleFilter(AudioUpsampleFilter filter) |
| 180 | { |
no test coverage detected