summaryrefslogtreecommitdiff
path: root/pjmedia/include/pjmedia/sound.h
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2015-11-19 04:03:00 +0000
committerLiong Sauw Ming <ming@teluu.com>2015-11-19 04:03:00 +0000
commit0eac1761fb3d3fb17799f1e8363f25b495094d07 (patch)
tree21a8be90fc7618a4d1f298e3880592637eff3d71 /pjmedia/include/pjmedia/sound.h
parent2b2aaa7bba77b4615e58a3b2b25dab404064e366 (diff)
Re #1882 (misc): Configurable audio device name length
Thanks to Wolfgang Wallhäuser for the original patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5201 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include/pjmedia/sound.h')
-rw-r--r--pjmedia/include/pjmedia/sound.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pjmedia/include/pjmedia/sound.h b/pjmedia/include/pjmedia/sound.h
index c1eb9211..3bedb08f 100644
--- a/pjmedia/include/pjmedia/sound.h
+++ b/pjmedia/include/pjmedia/sound.h
@@ -75,7 +75,8 @@ typedef struct pjmedia_snd_stream pjmedia_snd_stream;
*/
typedef struct pjmedia_snd_dev_info
{
- char name[64]; /**< Device name. */
+ char name[PJMEDIA_AUD_DEV_INFO_NAME_LEN];
+ /**< Device name. */
unsigned input_count; /**< Max number of input channels. */
unsigned output_count; /**< Max number of output channels. */
unsigned default_samples_per_sec;/**< Default sampling rate. */