Ticket #190 (enhancement)
Opened 11 months ago
Add RW_NONINTERLEAVED support to audio_alsa_source and audio_alsa_sink
Status: new
| Reported by: | eb | Assigned to: | nobody |
|---|---|---|---|
| Priority: | normal | Milestone: | to-be-decided |
| Component: | gr-audio-alsa | Version: | 3.0svn |
| Keywords: | ps3 | Cc: | |
The PS3 ALSA interface doesn't support the RW_INTERLEAVED access mode.
[eb@ps3 audio]$ ./dial_tone.py
audio: using audio_alsa
PCM name: hw:0,0
Access types:
MMAP_INTERLEAVED NO
MMAP_NONINTERLEAVED YES
MMAP_COMPLEX NO
RW_INTERLEAVED NO
RW_NONINTERLEAVED YES
Formats:
S16_BE YES
S24_BE YES
Number of channels
min channels: 2
max channels: 2
2 channels YES
Sample Rates:
min rate: 44100 (dir = 0)
max rate: 96000 (dir = 0)
8000 NO
16000 NO
22050 NO
32000 NO
44100 YES
48000 YES
96000 YES
192000 NO
audio_alsa_sink[hw:0,0]: failed to set access mask: Invalid argument
Traceback (most recent call last):
File "./dial_tone.py", line 55, in <module>
my_top_block().run()
File "./dial_tone.py", line 48, in __init__
dst = audio.sink (sample_rate, options.audio_output)
File "/usr/local/lib/python2.5/site-packages/gnuradio/audio_alsa.py", line 236, in sink
return _audio_alsa.sink(*args)
RuntimeError: audio_alsa_sink
