Well, after, (1) uninstalling the driver, (2)making sure Ableton didn't
have any references to the device in the audio/midi preferences,
(3)rebooting, (4)reinstalling the device driver, (5) and finally
rebooting once again, the flash player's ability to access the mic after
the SampleData events were added/removed more than once finally came
back; however, to be sure it was Abelton Live, and because I am a
glutton for punishment, I went into Audio preferences and switched to
ASIO again... and voila the problem was back.
So after going through the process once more, everything works again;
yet, I am afraid to use Ableton on the same system that I code on. I
will obviously be reporting the issue to Ableton; yet, I am wondering if
this is an issue that a little code on Adobe's side could have
prevented? Why was it able to access it the first time, and not a
second? Did removing the listener somehow deference the mic? and was it
because after this point, the device was being reported as already in
use when it tried to access it a second time? I guess I will never know.
Anyways, I just figured this info might be useful to someone else going
through similar issues.
The only workaround I could come up with, aside from reinstalling the
drivers, was to not remove the listener, and to only allow it to do
something with the data if an isRecording:boolean variable was set to
true; however, having the mic consistently being accessed seems pretty
wasteful imho, so I obviously wouldn't want to do this in a real project.
On 1/4/2012 10:04 AM, Anthony Pace wrote:
Alright,
So I was given a copy of Ableton Live 8 with a midi controller I
bought, and I installed around Christmas time. Everything was working
fine until I switched to ASIO, in order to get it to work with my
Tascam US144. I set it up so it would share the driver with other
Apps, but flash isn't playing well; as well, since then I have tried
reverting to WDM to no avail, and I will most likely have to do all
kinds of uninstalling and re-installing to get things working properly
again.
As it stands Flash will not access the mic if other apps are using it,
which is kind of screwed, but I can live with it; yet, what I cannot
live with, is that now after I remove the listener for
SampleDataEvent, when I add the listener again, it no longer works and
the events don't fire.
Has anyone run into issues like this? Is this a common issue that I
should be developing for? any workarounds?
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders