Memo5 wrote:
> Thanks for your reply!
>
> -Dbtheadset produces a correct output when i play a wav-file with a sampling
> rate of of the headset (8000). Otherwise I get a corrupt sound output. Alsa
> does not resample my sound, but I don't know the issue.
>
> Do you use a bluetooth headset? If yes, can you please play a wav-file and
> send me the output of:
> aplay -v -D btheadset /usr/share/sounds/alsa/Front_Right.wav
I have a A2DP capable receiver I am sending audio to. Not all are so
maybe that accounts for issue?
aplay -v -D bluetooth audio_10.wav
Playing WAVE 'audio_10.wav' : Signed 16 bit Little Endian, Rate 44100
Hz, Stereo
Plug PCM: Bluetooth Audio Device
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 6144
period_size : 2048
period_time : 46439
tstamp_mode : NONE
period_step : 1
avail_min : 2048
period_event : 0
start_threshold : 6144
stop_threshold : 6144
silence_threshold: 0
silence_size : 0
boundary : 1610612736
aplay -v -D bluetooth other.wav
Playing WAVE 'ross.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
Plug PCM: Rate conversion PCM (44100, sformat=S16_LE)
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : U8
subformat : STD
channels : 1
rate : 11025
exact rate : 11025 (11025/1)
msbits : 8
buffer_size : 3072
period_size : 1024
period_time : 92879
tstamp_mode : NONE
period_step : 1
avail_min : 1024
period_event : 0
start_threshold : 3072
stop_threshold : 3072
silence_threshold: 0
silence_size : 0
boundary : 402653184
Slave: Bluetooth Audio Device
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 12288
period_size : 4096
period_time : 92879
tstamp_mode : NONE
period_step : 1
avail_min : 4096
period_event : 0
start_threshold : 12288
stop_threshold : 12288
silence_threshold: 0
silence_size : 0
boundary : 1610612736
pcm.bluetoothraw {
type bluetooth
device XX:XX:XX:XX:XX:XX
profile auto
}
pcm.bluetooth {
type plug
slave {
pcm bluetoothraw
}
}
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user