8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
64bit版では、Sound.new でエラーになります。
サンプルコード↓
require 'dxruby' sound = Sound.new("sound.wav") # sound.wav読み込み #bgm = Sound.new("bgm.mid") # bgm.mid読み込み #bgm.play Window.loop do if Input.key_push?(K_Z) then # Zキーで再生 sound.play end end
>ruby sound.rb sound.rb:3:in initialize': DirectMusic initialize error - CoCreateInstance (DXRuby::DXRubyError) from sound.rb:3:in new' from sound.rb:3:in `'
>ruby sound.rb sound.rb:3:in initialize': DirectMusic initialize error - CoCreateInstance (DXRuby::DXRubyError) from sound.rb:3:in new' from sound.rb:3:in `
initialize': DirectMusic initialize error - CoCreateInstance (DXRuby::DXRubyError) from sound.rb:3:in
動作環境
比較環境(こちらはエラーなく動作)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
64bit版では、Sound.new でエラーになります。
サンプルコード↓
動作環境
比較環境(こちらはエラーなく動作)
The text was updated successfully, but these errors were encountered: