connecting a TALSpeexDecompressor output to a TALAudioMixer input at runtime
|
08-22-2014, 10:36 PM
Post: #3
|
|||
|
|||
RE: connecting a TALSpeexDecompressor output to a TALAudioMixer input at runtime
(08-22-2014 06:50 PM)Dave Wrote: Hi! Sometimes it helps to disable a component before connecting it to another. Perhaps worth a try. Untested. Hi Dave, yes, that worked. I stumbled over this solution when I set the filename property at runtime, not in the property editor. In combination with the setting to restart the player on new file, it worked, because this implicitly stops and starts the player. Now for the next step (this was not the real issue, just the simplest possible description The Speex compressed packets are sent via an udp client / server. On the server they are decompressed and routed to a dynamically created / assigned mixer channel and input pin. I am using TSLGenericFilters on the client and server to transmit the bytes via UDP. I have all this working, except that the server's Generic Filter OnProcessData event is never called, though the bytes arrive correctly in the UDP server. (When I connect the decompressor and mixer at design time, again everything works) But now I can not restart the wave player because I am on a server and the wave file is played on the client. The mixer has a Stop method, but no Start. The decompressor does not have any Enabled / Stop / Start methods. So to get this solved we need an understanding what the Stop/Start command in the wave player does, to create the same functionality on the server side in the decompressor and/or mixer components. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
connecting a TALSpeexDecompressor output to a TALAudioMixer input at runtime - fisherman - 08-21-2014, 08:49 AM
RE: connecting a TALSpeexDecompressor output to a TALAudioMixer input at runtime - Dave - 08-22-2014, 06:50 PM
RE: connecting a TALSpeexDecompressor output to a TALAudioMixer input at runtime - fisherman - 08-22-2014 10:36 PM
RE: connecting a TALSpeexDecompressor output to a TALAudioMixer input at runtime - Dave - 08-23-2014, 08:02 PM
|
User(s) browsing this thread: 2 Guest(s)