|
@@ -509,11 +509,6 @@ static int audio_attach_capture (HWVoiceOut *hw)
|
|
|
sw->ratio = ((int64_t) hw_cap->info.freq << 32) / sw->info.freq;
|
|
|
sw->vol = nominal_volume;
|
|
|
sw->rate = st_rate_start (sw->info.freq, hw_cap->info.freq);
|
|
|
- if (!sw->rate) {
|
|
|
- dolog ("Could not start rate conversion for `%s'\n", SW_NAME (sw));
|
|
|
- g_free (sw);
|
|
|
- return -1;
|
|
|
- }
|
|
|
QLIST_INSERT_HEAD (&hw_cap->sw_head, sw, entries);
|
|
|
QLIST_INSERT_HEAD (&hw->cap_head, sc, entries);
|
|
|
#ifdef DEBUG_CAPTURE
|