Commit bc067910 authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Fix post-initialisation detection of mixer devices

Detail:
  c/module - Although mixers were being detected fine, their address was never being stored, resulting a nasty crash whenever an attempt was made to use them.
Admin:
  Tested on Raspberry Pi with high processor vectors


Version 1.03. Tagged as 'SoundCtrl-1_03'
parent fc07ba6a
/* (1.02)
/* (1.03)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 1.02
#define Module_MajorVersion_CMHG 1.03
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 04 Feb 2012
#define Module_Date_CMHG 15 Aug 2012
#define Module_MajorVersion "1.02"
#define Module_Version 102
#define Module_MajorVersion "1.03"
#define Module_Version 103
#define Module_MinorVersion ""
#define Module_Date "04 Feb 2012"
#define Module_Date "15 Aug 2012"
#define Module_ApplicationDate "04-Feb-12"
#define Module_ApplicationDate "15-Aug-12"
#define Module_ComponentName "SoundCtrl"
#define Module_ComponentPath "castle/RiscOS/Sources/Audio/SoundCtrl"
#define Module_FullVersion "1.02"
#define Module_HelpVersion "1.02 (04 Feb 2012)"
#define Module_LibraryVersionInfo "1:2"
#define Module_FullVersion "1.03"
#define Module_HelpVersion "1.03 (15 Aug 2012)"
#define Module_LibraryVersionInfo "1:3"
......@@ -275,6 +275,8 @@ static void AddDevice(struct mixer_device *device)
system_t *system = malloc(sizeof *system);
if (system == NULL) return;
system->device = device;
if (device->device.Activate(&device->device))
{
/* Seach for a gap in the list of system numbers; if a driver module was */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment