1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/radio
Michael Sevakis 0ebfb937aa Fix some lockup caused by handles not being initialized to < 0...
...by default where they would be interpreted as valid but not actually
be which would cause calls to buffering while it was not initialized.

Add BUFFER_EVENT_BUFFER_RESET to inform users of buffering that the
buffer is being reinitialized. Basically, this wraps all the
functionality being provided by three events (...START_PLAYBACK,
RECORDING_EVENT_START, RECORDING_EVENT_STOP) into one for radioart.c,
the only user of those events (perhaps remove them?) and closes some
loopholes.

Change-Id: I99ec46b9b5fb4e36605db5944c60ed986163db3a
2012-05-21 02:28:13 -04:00
..
presets.c FS#12378 : Remove various unused code, and comment out some unused code and data for reference or future use. 2011-12-14 21:45:25 +00:00
presets.h Clean up naming of radio preset functions and move global radio preset methods into apps/radio/presets.h 2010-07-06 15:10:11 +00:00
radio.c Move radio power handling from apps/ to drivers. 2012-02-25 15:59:08 +01:00
radio.h Add more INIT_ATTR and add config.h includes to header files with INIT_ATTR. 2011-12-19 20:12:52 +00:00
radio_skin.c FS#12378 : Remove various unused code, and comment out some unused code and data for reference or future use. 2011-12-14 21:45:25 +00:00
radioart.c Fix some lockup caused by handles not being initialized to < 0... 2012-05-21 02:28:13 -04:00