Displaying 2 results from an estimated 2 matches for "channelcount".
Did you mean:
channel_count
2015 Oct 17
1
Why does this code not generate a valid opus file?
...1:
WARNING: stream 1 is empty
Logical stream 1 ended
Here is my code:
#include <stdio.h>
#include <stdlib.h>
#include "ogg/ogg.h"
//Some structs to help build the headers.
struct OggHeader {
unsigned char magicSignature[8];
unsigned char version;
unsigned char channelCount;
unsigned short preSkip;
unsigned int sampleRate;
unsigned short outputGain;
unsigned char mappingFamily;
};
struct OggCommentHeader {
unsigned char magicSignature[8];
unsigned int vendorStringLength; //Must be set to 0
//In-between here we would place out vendor string...
2002 Jul 01
0
Error winearts NO SOUND !
...che,)
audio format is 44100 Hz, 16 bits, 2 channels
Arts::MidiManager registered successfully.
UnixManager: got notifyIO
socketconnection created, fd = 12
play '/opt/kde/share/sounds/KDE_Startup.wav'!
loaded wav /opt/kde/share/sounds/KDE_Startup.wav
sample format: 401, sample width: 16
channelCount: 1
frameCount: 182592
job finished
SOUND FROM WINE :
--------------------------
UnixManager: got notifyIO
socketconnection created, fd = 12
incoming stream, parameters: rate=11025, 16 bit, 1 channels
creating packet receiver
detach incoming stream
job finished
incoming stream, parameters: ra...