Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: Four channel audio INPUT

$
0
0

i am struggling to decode the data stream. it certainly seems to have 4 bytes per chunk. however, when i convert this using the bitconverter method as you describe i get very large numbers even on channel with no input. so i suspect it might by byte ordering. this is a sample of the first 8 bytes in the data:

//ch1 - signal input

data[0] 0

data[1] 0

data[2] 64

data[3] 185

//ch2 - no signal input
data[4] 0

data[5] 0

data[6] 0

data[7] 184

//ch3.&4 like ch2

 

is it possible this is stored as bigendian? as that would make  more sense to then!


Viewing all articles
Browse latest Browse all 5831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>