Loading arch/arm/mach-msm/qdsp6v2/aac_in.c +2 −1 Original line number Original line Diff line number Diff line /* /* * Copyright (c) 2010-2012, The Linux Foundation. All rights reserved. * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved. * * * This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -125,6 +125,7 @@ static long aac_in_ioctl(struct file *file, case AUDIO_GET_AAC_ENC_CONFIG: { case AUDIO_GET_AAC_ENC_CONFIG: { struct msm_audio_aac_enc_config cfg; struct msm_audio_aac_enc_config cfg; struct msm_audio_aac_enc_config *enc_cfg; struct msm_audio_aac_enc_config *enc_cfg; memset(&cfg, 0, sizeof(cfg)); enc_cfg = audio->enc_cfg; enc_cfg = audio->enc_cfg; if (enc_cfg->channels == CH_MODE_MONO) if (enc_cfg->channels == CH_MODE_MONO) cfg.channels = 1; cfg.channels = 1; Loading Loading
arch/arm/mach-msm/qdsp6v2/aac_in.c +2 −1 Original line number Original line Diff line number Diff line /* /* * Copyright (c) 2010-2012, The Linux Foundation. All rights reserved. * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved. * * * This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -125,6 +125,7 @@ static long aac_in_ioctl(struct file *file, case AUDIO_GET_AAC_ENC_CONFIG: { case AUDIO_GET_AAC_ENC_CONFIG: { struct msm_audio_aac_enc_config cfg; struct msm_audio_aac_enc_config cfg; struct msm_audio_aac_enc_config *enc_cfg; struct msm_audio_aac_enc_config *enc_cfg; memset(&cfg, 0, sizeof(cfg)); enc_cfg = audio->enc_cfg; enc_cfg = audio->enc_cfg; if (enc_cfg->channels == CH_MODE_MONO) if (enc_cfg->channels == CH_MODE_MONO) cfg.channels = 1; cfg.channels = 1; Loading