Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Devices/Android versions reproduced on:
Android Auto version reproduced on:
implementation "androidx.car.app:app:1.3.0-rc01"
// For Android Auto specific functionality
implementation "androidx.car.app:app-projected:1.3.0-rc01"
This is not a bug.
I want the CarAudioRecord to have the ability to change :
public static final int AUDIO_CONTENT_SAMPLING_RATE = 16000;
/** The default buffer size of audio reads from the microphone. */
public static final int AUDIO_CONTENT_BUFFER_SIZE = 512;
/** The mime type for raw audio. The car API samples audio at 16khz. */
public static final String AUDIO_CONTENT_MIME = "audio/l16";
I want to record With this params :
const val RECORDER_SAMPLE_RATE = 8000
const val RECORDER_CHANNELS: Int = android.media.AudioFormat.CHANNEL_IN_MONO
const val RECORDER_AUDIO_ENCODING: Int = android.media.AudioFormat.ENCODING_PCM_16BIT
const val BITS_PER_SAMPLE: Short = 16
const val NUMBER_CHANNELS: Short = 1
const val BYTE_RATE = RECORDER_SAMPLE_RATE * NUMBER_CHANNELS * 16 / 8
And i want the library to enable it.
If this is a bug in the library, we would appreciate if you could attach, if possible:
- Sample project to trigger the issue.
- A screen record or screenshots showing the issue (if UI related).
- A bug report
To avoid the possibility of sharing private information, please share bugreports and screenshots from Google Drive. Share files with android-bugreport@google.com and include only Google drive links in your bug. Please note, bug report attachments should not be included directly in issue reports.
Disclaimer:
Please note, by submitting a bug report, you acknowledge that Google may use information included in the bug report to diagnose technical issues and to improve our products and services, in accordance with our Privacy Policy (
Bug reports include personal information logged on your device or by apps, such as:
- File names
- Installed apps and usage
- Email addresses of the profiles on the device
- Device identifiers, such as phone number
- Web history information, including URLs / URIs
- Location information, including limited location history
- Network information, such as IP/SSID/MAC addresses and saved or scanned APNs
- System or device information, such as memory and processes