# | Line 36 | Line 36 | void DigitalRenderer::init_sound(void) | |
---|---|---|
36 | ready = the_sub->Subscribe(the_stream) == B_NO_ERROR; | |
37 | if (ready) { | |
38 | the_stream->SetSamplingRate(SAMPLE_FREQ); | |
39 | – | the_stream->SetStreamBuffers(SAMPLE_FREQ / CALC_FREQ * 4, 4); // Must be called after EnterStream() |
39 | the_sub->EnterStream(NULL, true, this, stream_func, NULL, true); | |
40 | + | the_stream->SetStreamBuffers(SAMPLE_FREQ / CALC_FREQ * 4, 4); // Must be called after EnterStream() |
41 | in_stream = true; | |
42 | } | |
43 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |