mirror of
https://github.com/blueskythlikesclouds/SonicAudioTools.git
synced 2025-02-08 23:19:44 +01:00
More ACB support
This commit is contained in:
parent
86a218f630
commit
72cc15b402
@ -133,10 +133,14 @@ namespace AcbEditor
|
|||||||
{
|
{
|
||||||
while (waveformReader.Read())
|
while (waveformReader.Read())
|
||||||
{
|
{
|
||||||
ushort id = waveformReader.GetUInt16("Id");
|
|
||||||
byte encodeType = waveformReader.GetByte("EncodeType");
|
byte encodeType = waveformReader.GetByte("EncodeType");
|
||||||
bool streaming = waveformReader.GetBoolean("Streaming");
|
bool streaming = waveformReader.GetBoolean("Streaming");
|
||||||
|
|
||||||
|
ushort id =
|
||||||
|
waveformReader.ContainsField("MemoryAwbId") ?
|
||||||
|
streaming ? waveformReader.GetUInt16("StreamAwbId") : waveformReader.GetUInt16("MemoryAwbId") :
|
||||||
|
waveformReader.GetUInt16("Id");
|
||||||
|
|
||||||
string outputName = id.ToString("D5");
|
string outputName = id.ToString("D5");
|
||||||
if (streaming)
|
if (streaming)
|
||||||
{
|
{
|
||||||
@ -247,10 +251,14 @@ namespace AcbEditor
|
|||||||
{
|
{
|
||||||
while (reader.Read())
|
while (reader.Read())
|
||||||
{
|
{
|
||||||
ushort id = reader.GetUInt16("Id");
|
|
||||||
byte encodeType = reader.GetByte("EncodeType");
|
byte encodeType = reader.GetByte("EncodeType");
|
||||||
bool streaming = reader.GetBoolean("Streaming");
|
bool streaming = reader.GetBoolean("Streaming");
|
||||||
|
|
||||||
|
ushort id =
|
||||||
|
reader.ContainsField("MemoryAwbId") ?
|
||||||
|
streaming ? reader.GetUInt16("StreamAwbId") : reader.GetUInt16("MemoryAwbId") :
|
||||||
|
reader.GetUInt16("Id");
|
||||||
|
|
||||||
string inputName = id.ToString("D5");
|
string inputName = id.ToString("D5");
|
||||||
if (streaming)
|
if (streaming)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user