mirror of
https://github.com/JetSetIlly/Gopher2600.git
synced 2025-04-02 11:02:17 -04:00
television signal split into video and audio signal. The audio signal is only sent then a new sample from the TIA is ready realtime mixer concept change. the mixer can be informed of a change of TV spec. this allows the realtime mixer to make an informed judgement about the required sample rate the sample rate is unlikely to be ideal however unless the number of scanlines in the TV image is the same as given in the basic TV specification (ie. 262 lines for NTSC, 312 for PAL). because of that, the realtime mixer can also indirectly regulate the rate of calls to SetAudio(). the Regulate() function is called by the television which then alters the call frequency to SetAudio() depending on the regulate value. this effectively keeps the audio buffer nicely filled - neither too long which would be audibly laggy, or too short which would result in clipped audio the values that control the regulation in both the sdlaudio package and television package will need tweaking to find the best values |
||
---|---|---|
.. | ||
wav.go |