You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this player assumes only one play request at a time, but allows multiple to be processed at the event level.
(my test config client sends two wav files back to back on two sep connections)
should queue them up to play (as aplay has to be stopped/started for each)
and inform the requestor as appropriate
requestor may be waiting for 'Played' event which may not come depending on the error
or may come, even if not actually played
really need a queue of queues
each upper level queue represents a client connection
each lower queue has a list of things with buffers, with last being the 'end' status (from the AudioStop event)
the handler pulls from upper to get lower queue (block if empty)
starts aplay/processor
then pulls that lower queue, (block if empty)
until 'end' found
writes buffer to processor stdin
await flush
sends eof
ends processor
sends 'Played' event back to client
repeat
The text was updated successfully, but these errors were encountered:
this player assumes only one play request at a time, but allows multiple to be processed at the event level.
(my test config client sends two wav files back to back on two sep connections)
should queue them up to play (as aplay has to be stopped/started for each)
and inform the requestor as appropriate
requestor may be waiting for 'Played' event which may not come depending on the error
or may come, even if not actually played
The text was updated successfully, but these errors were encountered: