mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
A2B: Fix warnings
This commit is contained in:
@@ -11,7 +11,7 @@ A2BWAVOutput::A2BWAVOutput(
|
|||||||
size_t numWAVChannels,
|
size_t numWAVChannels,
|
||||||
uint32_t sampleRate
|
uint32_t sampleRate
|
||||||
)
|
)
|
||||||
: StreamOutput(filename), chMap(channelMap), wavSampleRate(sampleRate), numChannelsWAV(numWAVChannels) {
|
: StreamOutput(filename), wavSampleRate(sampleRate), numChannelsWAV(numWAVChannels), chMap(channelMap) {
|
||||||
switch(bitDepth) {
|
switch(bitDepth) {
|
||||||
case PCMType::L16:
|
case PCMType::L16:
|
||||||
bytesPerSampleWAV = 2;
|
bytesPerSampleWAV = 2;
|
||||||
@@ -36,7 +36,7 @@ A2BWAVOutput::A2BWAVOutput(
|
|||||||
size_t numWAVChannels,
|
size_t numWAVChannels,
|
||||||
uint32_t sampleRate
|
uint32_t sampleRate
|
||||||
)
|
)
|
||||||
: StreamOutput(os), chMap(channelMap), wavSampleRate(sampleRate), numChannelsWAV(numWAVChannels) {
|
: StreamOutput(os), wavSampleRate(sampleRate), numChannelsWAV(numWAVChannels), chMap(channelMap) {
|
||||||
switch(bitDepth) {
|
switch(bitDepth) {
|
||||||
case PCMType::L16:
|
case PCMType::L16:
|
||||||
bytesPerSampleWAV = 2;
|
bytesPerSampleWAV = 2;
|
||||||
|
|||||||
Reference in New Issue
Block a user