GCC Code Coverage Report | |||||||||||||||||||||
|
|||||||||||||||||||||
Line | Branch | Exec | Source |
1 |
#include <gwion_util.h> |
||
2 |
#include <soundinfo.h> |
||
3 |
|||
4 |
714 |
struct SoundInfo_ *new_soundinfo(MemPool p) { |
|
5 |
714 |
struct SoundInfo_ *si = mp_calloc(p, SoundInfo); |
|
6 |
714 |
si->in = si->out = 2; |
|
7 |
714 |
si->sr = 48000; |
|
8 |
714 |
return si; |
|
9 |
} |
||
10 |
|||
11 |
8 |
struct SoundInfo_ *soundinfo_cpy(MemPool p, const struct SoundInfo_ *src) { |
|
12 |
8 |
struct SoundInfo_ *si = mp_calloc(p, SoundInfo); |
|
13 |
8 |
si->in = src->in; |
|
14 |
8 |
si->out = src->out; |
|
15 |
8 |
si->sr = src->sr; |
|
16 |
8 |
return si; |
|
17 |
} |
Generated by: GCOVR (Version 4.2) |