#20 OSS drivers fail

closed
Nick Copeland
5
2008-11-28
2008-11-27
Nick Copeland
No

Starting bristol with the -oss option is not working. From the first output it looks like the engine cannot open the midi interface and consequently exits. Need to review the device naming for oss and the midi library compatibility.

Discussion

  • Nick Copeland
    Nick Copeland
    2008-11-27

    Issue with flag convergence, ALSA to OSS. 0.20 stream.

     
    Attachments
  • Nick Copeland
    Nick Copeland
    2008-11-27

    The OSS drivers were not merging in the device flags, this meant some parts of the code were not being activated (subfragment, specifically). With the subfrag code there is a buffer that does not get allocated. The attached file resolves this single issue.

    Tested here with the OSS compatibility drivers from ALSA. The submitted audioEngine.c code should be placed in <bristol src>/libbristolaudio and then execute a 'make install' here or above.

    As a side note, this was checked with 'startBristol -oss -mididev /dev/sequencer' - the mididev is required since the old symlinks for /dev/midi are not present now (with OSS compat?). Also, the default ALSA device needs to be reviewed as the -alsa option now fails configuring an incorrect default. That may be opened as a separate bug.

     
  • Nick Copeland
    Nick Copeland
    2008-11-27

    The resolution is in the file attached to this bug report.

    Fix will be rolled into 0.20.10 and 0.30 later.

     
  • Nick Copeland
    Nick Copeland
    2008-11-27

    • status: open --> pending
     
  • Nick Copeland
    Nick Copeland
    2008-11-28

    Kris confirmed his OSS drivers now work. Closing the case as 0.20.10 has been put out to cover this issue.

     
  • Nick Copeland
    Nick Copeland
    2008-11-28

    • status: pending --> closed