(One intermediate revision by the same user not shown)
Line 5:
Line 5:
Audio Stream Metadata is a component that reads the running tallies of the different samples being sent and received by an [[Type:AudioStream`1|AudioStream`1]].
Audio Stream Metadata is a component that reads the running tallies of the different samples being sent and received by an [[Type:AudioStream`1|AudioStream`1]].
== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Stream|'''[[Type:AudioStream`1|AudioStream`1]]<S>'''|TypeAdv0=true| The audio source to get data from
|Stream|'''[[Type:AudioStream`1|AudioStream`1]]<S>'''|TypeAdv0=true| The audio source to get data from
Line 16:
Line 16:
|GlobalIndex|{{RootFieldType|RawOutput`1|[[Type:Long|Long]]}}|TypeAdv7=true| The audio source's index in the pool of audio players playing sounds.
|GlobalIndex|{{RootFieldType|RawOutput`1|[[Type:Long|Long]]}}|TypeAdv7=true| The audio source's index in the pool of audio players playing sounds.
|SamplesAvailableForEncode|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv8=true| Samples currently ready to be encoded to a format supported by FrooxEngine's audio system.
|SamplesAvailableForEncode|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv8=true| Samples currently ready to be encoded to a format supported by FrooxEngine's audio system.
|FrameSize|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv9=true| The size of audio data coming in, which is in bytes and is influenced by data and channel count.
|MaxFrameSize|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv10=true| The max size of audio data coming in, which is in bytes and is influenced by data and channel count.
|EncodedSampleRate|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv11=true| how fast encoded samples are being processed.
|EncodedSampleRate|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv11=true| how fast encoded samples are being processed.
|TotalPacketCount|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv12=true| How many audio packets have been networked by the audio source so far.
|TotalPacketCount|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv12=true| How many audio packets have been networked by the audio source so far.
Line 23:
Line 23:
|LastLostPackets|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv14=true| The last time packets were lost by the audio source.
|LastLostPackets|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv14=true| The last time packets were lost by the audio source.
|PacketLossRatio|{{RootFieldType|RawOutput`1|[[Type:Float|Float]]}}|TypeAdv15=true| On average, the percentage of audio packets from the network that are being lost.
|PacketLossRatio|{{RootFieldType|RawOutput`1|[[Type:Float|Float]]}}|TypeAdv15=true| On average, the percentage of audio packets from the network that are being lost.
|AverageCodecSamplesPerSecond|{{RootFieldType|RawOutput`1|[[Type:Double|Double]]}}|TypeAdv16=true| The average amount of samples incoming in encoded form.