Skip to content
This repository has been archived by the owner on Oct 9, 2018. It is now read-only.

Commit

Permalink
default driver on osx is now DLS Synth
Browse files Browse the repository at this point in the history
  • Loading branch information
bleything committed Feb 22, 2011
1 parent cd6051e commit 35ed052
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/midiator/interface.rb
Expand Up @@ -28,7 +28,7 @@ class MIDIator::Interface
def autodetect_driver
driver = case RUBY_PLATFORM
when /darwin/
:core_midi
:dls_synth
when /cygwin/, /mingw/
:winmm
when /linux/
Expand Down
2 changes: 1 addition & 1 deletion spec/interface_spec.rb
Expand Up @@ -60,7 +60,7 @@

it "selects CoreMIDI for OSX" do
RUBY_PLATFORM = "universal-darwin10.0"
@interface.should_receive( :use ).with( :core_midi )
@interface.should_receive( :use ).with( :dls_synth )

@interface.autodetect_driver
end
Expand Down

0 comments on commit 35ed052

Please sign in to comment.