Revision 10e164da
server/include/ROS/UtteranceROS.h | ||
---|---|---|
60 | 60 |
audio_data->samples.assign(audio_data_char, audio_data_char+audio_len); |
61 | 61 |
printf("audio samplesize is %d bytes\n",(unsigned int)audio_data->samples.size()); |
62 | 62 |
|
63 |
/* |
|
64 |
* : data() |
|
65 |
, samplecount(0) |
|
66 |
, channels(0) |
|
67 |
, rate(0) |
|
68 |
, sample_type(0) |
|
69 |
, endianess(0) { |
|
70 |
|
|
71 |
}*/ |
|
72 |
|
|
73 | 63 |
//extract format: |
74 | 64 |
audio_data->sample_signed = true; |
75 | 65 |
switch (sound_chunk.sample_type){ |
Also available in: Unified diff