News:

HOT TIP! Commands and groups can be copied and pasted directly from your command editor to the forum, and vice versa. This makes sharing command XML on the forum much easier!

Main Menu

Ошибка в проигрывании аудио

Started by Marevo, November 19, 2015, 03:53:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Marevo

не воспроизводятся аудиотреки, в чем может быть ошибка?

20.11.2015 0:20:15   730   doCommand:newcommandname
20.11.2015 0:20:15   730   action repeat set to: 1
20.11.2015 0:20:15   730   Action:  Audio.Play - E:\Music\003 Резидент - Мадагаскар.mp3
20.11.2015 0:20:15   730   [action] Audio.Play:E:\Music\003 Резидент - Мадагаскар.mp3

20.11.2015 0:20:15   750   Action ERROR: System.Runtime.InteropServices.COMException (0xC00D36C4): Исключение из HRESULT: 0xC00D36C4
   в NAudio.MediaFoundation.MediaFoundationInterop.MFCreateSourceReaderFromURL(String pwszURL, IMFAttributes pAttributes, IMFSourceReader& ppSourceReader)
   в NAudio.Wave.MediaFoundationReader.CreateReader(MediaFoundationReaderSettings settings)
   в NAudio.Wave.MediaFoundationReader..ctor(String file, MediaFoundationReaderSettings settings)
   в NAudio.Wave.MediaFoundationReader..ctor(String file)
   в vcPlugin.myAudio.playFileNameUsingMediaFoundation(String audioFileName)
   в vcPlugin.myAudio.playFile(String[] parsedParams)
   в vcPlugin.Plugin.doAction(String[] parsedActions, String[] parsedParams)

nime5ter

Does the command work with other MP3 files?

It is probably a problem with the mp3 file's encoding.
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

jitterjames

I think it's a bad mp3 but you can also try another action: Sound.PlayStream

Marevo

action: Sound.PlayStream works with the same mp3
tried Action: Audio.Play with the format .wav, works
some problems with mp3 playback in Action: Audio.Play
thank you for your answers!  :)