to a better place (Jan Kiszka).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4223
c046a42c-6fe2-441c-8c8c-
71466251a162
static void wm8750_audio_out_cb(void *opaque, int free_b)
{
struct wm8750_s *s = (struct wm8750_s *) opaque;
- wm8750_out_flush(s);
s->req_out = free_b;
s->data_req(s->opaque, free_b >> 2, s->req_in >> 2);
+ wm8750_out_flush(s);
}
struct wm_rate_s {
void wm8750_reset(i2c_slave *i2c)
{
struct wm8750_s *s = (struct wm8750_s *) i2c;
+ s->rate = &wm_rate_table[0];
s->enable = 0;
wm8750_set_format(s);
s->diff[0] = 0;