1 |
|
/* |
2 |
|
* SID_Be.h - 6581 emulation, Be specific stuff |
3 |
|
* |
4 |
< |
* Frodo (C) 1994-1997,2002 Christian Bauer |
4 |
> |
* Frodo (C) 1994-1997,2002-2003 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
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 |
|
} |