[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-datatype-cvs
Subject: [Datatype-cvs] common/audrend/pub audrend.h,1.19,1.20
From: jgordon () helixcommunity ! org
Date: 2012-06-22 21:00:10
[Download RAW message or body]
Update of /cvsroot/datatype/common/audrend/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv25330/pub
Modified Files:
audrend.h
Log Message:
Adds support for HX_ASM_SWITCH_STREAM packets in the base audio renderer.
On SWITCH_STREAM packet, tell the old payload handler that it's done with
packets (let it play out) and create a new one.
The renderer already handles switching to a new audio device output
stream if needed (i.e. change in audio sampling rate or number of
channels), but this makes sure it will always check for changes after a
SWITCH packet.
Fixed a bug in the case where it needs to switch outputs and found an
old one to re-use - it was instead trying to create a new one and leaking
the old one.
Index: audrend.h
===================================================================
RCS file: /cvsroot/datatype/common/audrend/pub/audrend.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- audrend.h 16 Feb 2011 05:29:37 -0000 1.19
+++ audrend.h 22 Jun 2012 21:00:08 -0000 1.20
@@ -144,6 +144,7 @@
HX_BITFIELD m_bFirstPacket:1;
HX_BITFIELD m_bDelayOffsetSet:1;
HX_BITFIELD m_bCanChangeAudioStream : 1;
+ HX_BITFIELD m_bChangedAudioFormat : 1;
HX_BITFIELD m_bNeedStartTime:1;
HX_BITFIELD m_bStream2:1;
@@ -483,7 +484,8 @@
ULONG32 m_ulRegistryID;
CAudioFormat* m_pAudioFormat;
-
+ CAudioFormat* m_pNewAudioFormat;
+
#if defined(HELIX_FEATURE_STATS)
CAudioStatistics* m_pAudioStats;
#else
_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic